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

Exposing metrics without timestamps #233

Open
SandroJijavadze opened this issue Jun 12, 2023 · 1 comment
Open

Exposing metrics without timestamps #233

SandroJijavadze opened this issue Jun 12, 2023 · 1 comment

Comments

@SandroJijavadze
Copy link

SandroJijavadze commented Jun 12, 2023

Is it possible to expose metrics without timestamps?
We are trying to use a metric exported using stackdriver exporter in HPA through kubernetes prometheus adapter, and all other metrics that we have works, except this one, and the only difference we see is that it's timestamped.

#58

Is it possible to disable this?
I couldn't find an option like that in code.

@kgeckhart
Copy link
Contributor

You can adjust your prometheus scrape config to set honor_timestamps false which will ignore the metric timestamp, https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config.

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