-
Notifications
You must be signed in to change notification settings - Fork 64
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
Metric value question #76
Comments
When comparing it in prometheus can you multiply time() by 1000?
…On Thu, Jan 27, 2022 at 7:14 AM Gumar Minibaev ***@***.***> wrote:
Hi!
What is this * 1000 for?
https://github.com/sstarcher/helm-exporter/blob/master/main.go#L150
I'm using the metric value to compare it with time() in Prometheus and
cannot get the reason it's multiplied by 1000 in the exporter.
If you don't mind I want to create a PR to make it possible to get the
metric without this multiplication with the optional parameter. The default
behavior is not to change.
—
Reply to this email directly, view it on GitHub
<#76>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA42THQYMIUTNVEKYTNTVFDUYFALHANCNFSM5M53UR3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sure I can, but it looks strange to me |
This was the original request as Grafana looks to use the default format of milliseconds - #10 So they have the opposite issue that you have. It's not going to be possible to make every tool happy. Luckily Prometheus can support multiplication, but Grafana does not support changing the format. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
What is this * 1000 for? https://github.com/sstarcher/helm-exporter/blob/master/main.go#L150
I'm using the metric value to compare it with time() in Prometheus and cannot get the reason it's multiplied by 1000 in the exporter.
If you don't mind I want to create a PR to make it possible to get the metric without this multiplication with the optional parameter. The default behavior is not to change.
The text was updated successfully, but these errors were encountered: