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

Make telemetry metrics respect disable state #2409

Merged
merged 1 commit into from Dec 21, 2023

Conversation

michaelmdresser
Copy link
Contributor

@michaelmdresser michaelmdresser commented Dec 20, 2023

What does this PR change?

  • The opencost_build_info, kubecost_http_requests_total, kubecost_http_response_time_seconds, and kubecost_http_response_size_bytes will now respect the disabled metric configuration.

Does this PR relate to any other PRs?

How will this PR impact users?

Does this PR address any GitHub or Zendesk issues?

  • Closes ...

How was this PR tested?

  • By Jesse in a live env, disabling all of these metrics successfully using the config.

@michaelmdresser michaelmdresser added the next release This PR/issue is expected to be merged/addressed in the next release label Dec 20, 2023
Copy link

vercel bot commented Dec 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencost ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2023 8:20pm

Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Copy link

sonarcloud bot commented Dec 20, 2023

@michaelmdresser
Copy link
Contributor Author

@jessegoodier a KCM image which includes this change: michaelkubecost/cost-model:v1.108.0-rc.0-37-gd22b19bc-ocdisabletelem-01 (KCM@dev)

@jessegoodier
Copy link
Contributor

this works! let me know if you want any test details.
I'll add settings to docs when merged. Would like to get this in .1

@michaelmdresser michaelmdresser marked this pull request as ready for review December 21, 2023 22:20
@michaelmdresser michaelmdresser merged commit 9287d2c into develop Dec 21, 2023
6 checks passed
@michaelmdresser michaelmdresser deleted the mmd/remove-obsolete-telemetry-metrics branch December 21, 2023 22:28
michaelmdresser added a commit that referenced this pull request Dec 21, 2023
Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
michaelmdresser added a commit that referenced this pull request Dec 21, 2023
Signed-off-by: Michael Dresser <michaelmdresser@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-follow-up next release This PR/issue is expected to be merged/addressed in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants