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

(demo)-collector: update prom endpoint #899

Conversation

puckpuck
Copy link
Contributor

Updates the prometheus endpoint to use the port number only.

The prior reference to an environment variable for this property was incorrect, using env. instead of env:. Removing the IP portion of the endpoint altogether makes this configuration easier to maintain.

@puckpuck puckpuck requested a review from a team September 28, 2023 01:05
@@ -620,7 +620,7 @@ opentelemetry-collector:
insecure: true
# Create an exporter to Prometheus (metrics)
prometheus:
endpoint: "${env.MY_POD_IP}:9464"
endpoint: ":9464"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this endpoint work? Is the prom chart doing some magic behind the scenes?

@puckpuck
Copy link
Contributor Author

I will close this in favor of a move to the OTLP write receiver built into Prometheus instead.

@puckpuck puckpuck closed this Sep 28, 2023
@puckpuck puckpuck deleted the demo.collector.fix-prom-endpoint branch September 28, 2023 22:45
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.

2 participants