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

Implements metrics using armon/go-metrics library #1616

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Eclion
Copy link

@Eclion Eclion commented Aug 9, 2022

As suggested in the issue #1395, this PR implements a metric system using the armon/go-metrics library along with few metrics.

To achieve such implementation, the metric system was based on the implementation done in Consul and the exposed metrics have been implemented based on the PR #1378.

However, this implementation only partially implements the mentioned metrics:

  • the armon/go-metrics library doesn't support yet histograms so these metrics are not implemented in this PR.
  • to avoid import cycling between the dependency, config and telemetry packages, metrics related to the vault token were not implemented

Resolves #1395

@Eclion Eclion requested a review from a team August 9, 2022 08:57
@hashicorp-cla
Copy link

hashicorp-cla commented Aug 9, 2022

CLA assistant check
All committers have signed the CLA.

@Eclion Eclion force-pushed the armon-gometrics-implementation branch from 7cce0dd to 9fc25e6 Compare August 19, 2022 12:57
@Eclion
Copy link
Author

Eclion commented Aug 23, 2022

Hello @eikenb !
Do you perhaps know someone who may be available to review this PR ?

@c0deaddict
Copy link

Any update on this? Would love to see this merged. We're kind of in the dark now when consul-template fails to render a template. Except when a service using the rendered template eventually breaks, but I would like to know that before hand.

@Oloremo
Copy link

Oloremo commented Apr 18, 2023

Any updates on this?

@cybervedaa
Copy link

+1 for this please. this will go a long way in reliably monitoring consul-template

Copy link
Collaborator

@roncodingenthusiast roncodingenthusiast left a comment

Choose a reason for hiding this comment

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

🎉 @Eclion Thank you so much for the thorough work that went into making this PR happen.
Happy to work with you and a few others to get this merged/released within the next couple of weeks.

✍🏾 I did a first pass review and i am leaving a few comments for consideration. Let me know if any of them don't make sense to you.

❓ Do you mind updating this PR to the main branch, looks like it is quite behind now so it will be nice to get this updated before we work on merging it in

🔢 Happy to help/assist in anyway you want me to

README.md Outdated Show resolved Hide resolved
telemetry/metrics.go Outdated Show resolved Hide resolved
telemetry/metrics.go Show resolved Hide resolved
config/convert.go Outdated Show resolved Hide resolved
config/convert.go Outdated Show resolved Hide resolved
manager/runner.go Outdated Show resolved Hide resolved
telemetry/telemetry.go Outdated Show resolved Hide resolved
telemetry/telemetry.go Outdated Show resolved Hide resolved
telemetry/telemetry.go Outdated Show resolved Hide resolved
telemetry/telemetry.go Outdated Show resolved Hide resolved
@Eclion
Copy link
Author

Eclion commented Jun 22, 2023

tada @Eclion Thank you so much for the thorough work that went into making this PR happen. Happy to work with you and a few others to get this merged/released within the next couple of weeks.

Hello @roncodingenthusiast !
Thank you very much for your PR!

✍🏾 I did a first pass review and i am leaving a few comments for consideration. Let me know if any of them don't make sense to you.

question Do you mind updating this PR to the main branch, looks like it is quite behind now so it will be nice to get this updated before we work on merging it in

Sure! I will rebase my branch before working on your comments.

1234 Happy to help/assist in anyway you want me to

@Eclion Eclion force-pushed the armon-gometrics-implementation branch from 997b530 to 82c33c4 Compare June 22, 2023 08:29
@Eclion Eclion requested a review from a team as a code owner June 22, 2023 08:29
@Eclion Eclion force-pushed the armon-gometrics-implementation branch from 43166c3 to 80b5f0a Compare June 22, 2023 10:10
@c0deaddict
Copy link

I would very much like for this PR to be merged - and released. Any update on this?

@cybervedaa
Copy link

I'm eagerly waiting on this to be merged as well. Can't wait for this to be merged

@Eclion Eclion force-pushed the armon-gometrics-implementation branch from 750c214 to 011d417 Compare October 20, 2023 12:04
@Eclion Eclion requested review from a team and kisunji and removed request for a team October 20, 2023 12:04
@kisunji kisunji removed their request for review January 5, 2024 21:00
@Eclion Eclion force-pushed the armon-gometrics-implementation branch from 011d417 to ec189f9 Compare April 15, 2024 08:53
@Eclion
Copy link
Author

Eclion commented Apr 15, 2024

fork rebased on current main branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace OpenTelemetry with armon/go-metrics
7 participants