promscale icon indicating copy to clipboard operation
promscale copied to clipboard

Option to turn off Prometheus/OpenTelemetry

Open VineethReddy02 opened this issue 3 years ago • 2 comments

Currently, The Prometheus endpoint is by default enabled, and post tracing GA OpenTelmetry will be also enabled by default.

Provide an option i.e. flag, config option (in config.yaml) to disable to Prometheus, OpenTelemetry. If a user wants to use Promscale only for tracing not for metrics and vice versa. This option helps to disable the unused endpoint.

Note: Expose Promscale metrics in the server that is running, currently we are exposing metrics only in 9201.

Dependent task:

  1. Expose metrics in port that's enabled: Expose Promscale metrics from the port which is enabled i.e. we should expose metrics from 9202 if only otel is enabled, in 9201 if only metrics is enabled and in 9201 as default if both are enabled.

VineethReddy02 avatar Feb 22 '22 12:02 VineethReddy02

Blocked by #1213

antekresic avatar Mar 03 '22 12:03 antekresic

We decided not to implement this at the moment. As Promscale will expose metrics in default HTTP server i.e. 9201. So the option of turning off Prometheus under the hood means turning off the HTTP server. This isn't ideal UX.

VineethReddy02 avatar Mar 23 '22 06:03 VineethReddy02