Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce config option to disable statsd metrics #3585

Conversation

kathap
Copy link
Contributor

@kathap kathap commented Jan 5, 2024

This config option allows to send metrics only via prometheus on api vms. The default is true (i.e. enabled). In the default case, metrics are sent via statsd and prometheus.

@kathap kathap force-pushed the config-option-to-disable-statsd-metrics branch 2 times, most recently from 793c109 to d956f6c Compare January 5, 2024 10:15
@kathap kathap marked this pull request as draft January 5, 2024 11:41
@kathap kathap force-pushed the config-option-to-disable-statsd-metrics branch 5 times, most recently from 3cdfb20 to 42bd7ab Compare January 11, 2024 10:27
This config option allows to send metrics only via prometheus on api
vms. The default is false. In the default case, metrics are sent via statsd and
prometheus.
@kathap kathap force-pushed the config-option-to-disable-statsd-metrics branch from c8c728d to 8f8141b Compare January 15, 2024 14:16
…cause it is read in dependeny_locator and will error if the config parameter is not there. Defaults to false, so no effect for other than api vms.
@kathap kathap marked this pull request as ready for review January 17, 2024 10:28
@Gerg
Copy link
Member

Gerg commented Jan 18, 2024

What do you think about naming the config value enable_statsd_metrics instead? That way we don't need to worry about double negatives.

@kathap kathap force-pushed the config-option-to-disable-statsd-metrics branch from 4b05710 to e72c874 Compare January 19, 2024 14:29
@kathap kathap force-pushed the config-option-to-disable-statsd-metrics branch from e72c874 to 45ae830 Compare January 19, 2024 14:36
@philippthun philippthun merged commit f1215e5 into cloudfoundry:main Jan 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants