Skip to content
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

Introduce run metrics #122

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Introduce run metrics #122

merged 1 commit into from
Jun 28, 2024

Conversation

tbauriedel
Copy link
Member

Introduce metrics about the collection.

  • How is the command called? (Values from *--icinga2* are obfuscated)
  • Move timings from timing.yml to metrics
  • Version

Metrics will be saved to metrics.json

{"command":"/home/ubuntu/support-collector/executables-Gbx8dzGyfT/___go_build_github_com_NETWAYS_support_collector_linux --icinga2-api-user \u003cHIDDEN\u003e --icinga2-api-pass \u003cHIDDEN\u003e --icinga2-api-endpoints \u003cHIDDEN\u003e --enable webservers","version":"0.10.1","timings":{"total":32594129,"webservers":32254571}}

@tbauriedel tbauriedel added the feature New feature or request label Jun 27, 2024
@tbauriedel tbauriedel added this to the v1.0.0 milestone Jun 27, 2024
@tbauriedel tbauriedel self-assigned this Jun 27, 2024
@tbauriedel tbauriedel force-pushed the feature/metrics branch 4 times, most recently from a5fccdd to b6a4531 Compare June 28, 2024 07:38
@tbauriedel tbauriedel merged commit 45dd6b7 into main Jun 28, 2024
2 checks passed
@tbauriedel tbauriedel deleted the feature/metrics branch June 28, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant