-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: Update lease to export metrics (#214)
The lease example now exports the lease state as a metric: # HELP kubert_lease_claimed Indicates whether this instance is owns the lease. # TYPE kubert_lease_claimed gauge kubert_lease_claimed 1 # HELP kubert_lease_claim_changes Counts changes of this process's claim of the lease. # TYPE kubert_lease_claim_changes counter kubert_lease_claim_changes_total 1 # HELP kubert_lease_claimed Indicates whether this instance is owns the lease. # TYPE kubert_lease_claimed gauge kubert_lease_claimed 0 # HELP kubert_lease_claim_changes Counts changes of this process's claim of the lease. # TYPE kubert_lease_claim_changes counter kubert_lease_claim_changes_total 2
- Loading branch information
Showing
2 changed files
with
165 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters