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

Add annotation for an agent metrics listener #698

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LS80
Copy link
Contributor

@LS80 LS80 commented Nov 2, 2024

Fixes #331 by adding vault.hashicorp.com/agent-metrics-listener-port.

To enable Prometheus metrics these annotations will be needed

vault.hashicorp.com/agent-telemetry-prometheus_retention_time: 1h
vault.hashicorp.com/agent-metrics-listener-port: "8201"

The containerPort is necessary to be able to use a PodMonitor to scrape the metrics.

@LS80 LS80 force-pushed the metrics-listener-annotation branch 4 times, most recently from 8301705 to 9706e38 Compare November 4, 2024 17:39
@LS80 LS80 force-pushed the metrics-listener-annotation branch from 9706e38 to c51bed4 Compare November 5, 2024 07:39
@LS80
Copy link
Contributor Author

LS80 commented Nov 12, 2024

@tvoran Before I go any further with this, is it something that is likely to be accepted?

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.

Agent Metrics Configuration
1 participant