Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

System metrics are scraped through our Prometheus Metrics Web Service endpoint.To enable OpenTelemetry metrics, you must configure an Open Telemetry metrics exporter in uc.properties , otherwise, a noop meter provider is used

Info
 For configuring and exporting user-defined Universal Event metrics, click here.


Info

To configure UC with optional metric labels, you can add the following to the uc.properties.

uc.prometheus.metrics.<metric-name>.optional_labels=<comma-delimited-optional-labels>

For example,

uc.prometheus.metrics.uc_history_total.optional_labels=agent_id,task_instance_exit_code
uc.prometheus.metrics.uc_task_instance_duration_seconds.optional_labels=agent_id

...