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

internal/resource: Add Prometheus metrics configuration capability to definednet_host resource #59

Merged
merged 9 commits into from
Nov 28, 2024

Conversation

janartodesk
Copy link
Member

Enable metrics collection capability on definednet_host instances. The configuration is exposed via metrics block providing

  • listen - a hostport for the metrics server (default 127.0.0.1:8080),
  • path - a path for serving Prometheus metrics endpoint (default /metrics),
  • namespace - Prometheus' metrics namespace (default nebula),
  • subsystem - Prometheus' metrics subsystem (default host), and
  • enable_extra_metrics - enable message metrics (default false).

@janartodesk janartodesk added the enhancement New feature or request label Nov 28, 2024
@janartodesk janartodesk self-assigned this Nov 28, 2024
@janartodesk janartodesk marked this pull request as ready for review November 28, 2024 10:18
@janartodesk janartodesk requested a review from a team as a code owner November 28, 2024 10:18
@janartodesk janartodesk merged commit 4c215dd into main Nov 28, 2024
4 checks passed
@janartodesk janartodesk deleted the dev/host-metrics-export branch November 28, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant