Collect metrics descriptions for SNMP integration #29

Closed
opened 2023-04-06 09:11:43 +00:00 by alexvanin · 0 comments
Owner

Application metrics can be integrated with SNMP. To do that we have to import all available metric descriptions in some JSON format to put them into MIB later.

Describe the solution you'd like

  • Define all metrics with descriptions into single package with global variables (partly done)
  • Add a test to iterate over metrics in global variables and collect description in JSON format
  • Add a Makefile command to generate JSON file

See TrueCloudLab/frostfs-node#214 as a reference.

Describe alternatives you've considered

Use global prometheus collector somehow to iterate over registered metrics. However this can be done only in runtime, which is not suitable for this issue.

## Is your feature request related to a problem? Please describe. Application metrics can be integrated with SNMP. To do that we have to import all available metric descriptions in some JSON format to put them into [MIB](https://en.wikipedia.org/wiki/Management_information_base) later. ## Describe the solution you'd like - Define all metrics with descriptions into single package with global variables (partly done) - Add a test to iterate over metrics in global variables and collect description in JSON format - Add a Makefile command to generate JSON file See https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/214 as a reference. ## Describe alternatives you've considered Use global prometheus collector somehow to iterate over registered metrics. However this can be done only in runtime, which is not suitable for this issue.
alexvanin added this to the v0.27.0 milestone 2023-04-06 09:11:43 +00:00
alexvanin added the
good first issue
label 2023-04-06 09:11:43 +00:00
dkirillov was assigned by alexvanin 2023-04-06 09:11:43 +00:00
alexvanin modified the milestone from v0.27.0 to v0.28.0 2023-04-07 13:58:59 +00:00
realloc referenced this issue from a commit 2023-04-21 08:21:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#29
No description provided.