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

Feature request: statsd and prometheus receivers #454

Open
njLT opened this issue Mar 7, 2022 · 1 comment
Open

Feature request: statsd and prometheus receivers #454

njLT opened this issue Mar 7, 2022 · 1 comment

Comments

@njLT
Copy link

njLT commented Mar 7, 2022

The statsd and prometheus receivers are available in the opentelemetry-collector-contrib repository. We're currently using the legacy agent for statsd integration on GCP and were currently looking for a way to get some other metrics exposed in the prometheus format to stackdriver as well.

@adrianlzt
Copy link

Supported enabling a special flag (for v2.23.0):

# /etc/systemd/system/google-cloud-ops-agent-opentelemetry-collector.service.d/override.conf
[Service]
Environment="UNSUPPORTED_BETA_PROMETHEUS_RECEIVER=enabled"

Check this example:
https://github.com/GoogleCloudPlatform/ops-agent/blob/2.23.0/confgenerator/testdata/valid/linux/metrics-receiver_prometheus/input.yaml

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

No branches or pull requests

2 participants