-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
renaming metrics to adhere to OTEL #15087
Conversation
I see you updated files related to
|
@@ -16,12 +16,12 @@ var remoteRegistrySyncFailureCounter metric.Int64Counter | |||
var launcherFailureCounter metric.Int64Counter | |||
|
|||
func initMonitoringResources() (err error) { | |||
remoteRegistrySyncFailureCounter, err = beholder.GetMeter().Int64Counter("RemoteRegistrySyncFailure") | |||
remoteRegistrySyncFailureCounter, err = beholder.GetMeter().Int64Counter("platform.registry_syncer.sync.failures") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patrickhuie19 IIUC all metrics should be prefixed by "platform"; is that for all metrics everywhere, or is "platform" just the prefix for Keystone related things?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just the prefix for Keystone related things
this 👍
OTEL naming conventions: https://opentelemetry.io/docs/specs/semconv/general/metrics/
Follow up
https://smartcontract-it.atlassian.net/browse/KS-503