-
Notifications
You must be signed in to change notification settings - Fork 184
Add klaytn binary version information into Prometheus metric #1387
Comments
@aidan-kwon Could you please take a look at this? |
@odg0318 Thank you for the suggestion. I think we can achieve the goal with another way. |
@aidan-kwon Using label in prometheus for version is very common way. I think using label is better way. Let me share some examples from other project. Three metrics are used for version with value
The labels in Prometheus can be shown in Grafana table type. example: node_exporter
|
Is your request related to a problem? Please describe.
To check the klaytn binary version, I must connect to the instance shell and execute the binary like below.
I want to check the binary version through Prometheus metrics.
Describe the solution you'd like
I suggest a new metric showing version information by Prometheus label.
Metric name is
klaytn_node_version
and value is constantly 1.The version information can be referred in the following code.
https://github.com/klaytn/klaytn/blob/dev/params/version.go#L33
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: