Open njLT opened 2 years ago
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
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.