curved-petabyte-84246
06/20/2024, 2:13 PMaverage-finland-92144
06/22/2024, 12:38 AM/metrics
for the single binary (see thread)gentle-tomato-480
06/26/2024, 8:27 AMpropeller:
prof-port: 10254
metrics-prefix: "flyte:"
scheduler:
profilerPort: 10254
metricsScope: "flyte:"
flyteadmin:
profilerPort: 10254
metricsScope: "flyte:"
under configuration.inline
in my helm values.
and
service:
extraPorts:
- name: http-metrics
protocol: TCP
port: 10254
on the top level of helm values.
And then could configure a serviceMonitor for flyte like this:
apiVersion: <http://monitoring.coreos.com/v1|monitoring.coreos.com/v1>
kind: ServiceMonitor
metadata:
name: flytemonitoring
namespace: flyte
spec:
selector:
matchLabels:
<http://app.kubernetes.io/instance|app.kubernetes.io/instance>: flyte-backend
endpoints:
- port: http-metrics
path: /metrics
curved-petabyte-84246
06/26/2024, 8:57 AMgentle-tomato-480
06/26/2024, 9:06 AMconfiguration.inline
in your values.yaml
e.g.
configuration:
inline:
propeller:
prof-port: 10254
metrics-prefix: "flyte:"
scheduler:
profilerPort: 10254
metricsScope: "flyte:"
flyteadmin:
profilerPort: 10254
metricsScope: "flyte:"
I'm not sure if it's necessary, but it feels complete.curved-petabyte-84246
06/26/2024, 11:23 AM