Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Better naming for Prometheus metrics #540

Merged

Conversation

aabouzaid
Copy link
Contributor

Hello,

This PR refactors the metrics' names according to Prometheus metric names best practices.

No breaking changes at the moment since I added new metrics and added deprecation notes on the old ones.

Related to: #489

@aabouzaid aabouzaid force-pushed the rename-prometheus-metrics branch 4 times, most recently from 9c26896 to beff894 Compare November 10, 2020 09:38
@Flydiverny Flydiverny merged commit 5b5a00f into external-secrets:master Nov 14, 2020
@Flydiverny Flydiverny mentioned this pull request Dec 22, 2020
labelNames: ['name', 'namespace', 'backend', 'status'],
registers: [registry]
})
this._lastSyncCallState = new Prometheus.Gauge({
name: 'kubernetes_external_secrets_last_sync_call_state',
help: 'State of last sync call of external secert. Value -1 if the last sync was a failure, 1 otherwise',
Copy link

@MPV MPV Dec 22, 2020

Choose a reason for hiding this comment

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

secert = Secret typo?

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

Successfully merging this pull request may close these issues.

3 participants