Skip to content
Discussion options

You must be logged in to vote

Metrics via HTTP are now available, added in: #126 available in v0.9.1

runCommand.cmd.Flags().IntVar(&globalConfig.MetricsPort, "metrics-port", getEnvInt("METRICS_PORT", 0), "Publish metrics on the specified port (default zero to disable)")

You can add e.g. --metrics-port=9001 to enable it.

Whats not there yet is metrics via HTTPS port.

I was wondering about adding an additional flag --metrics-https=true to toggle setting the TLS config on the metrics server too.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@polarctos
Comment options

@kevinmcconnell
Comment options

Answer selected by kevinmcconnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #79 on January 23, 2025 13:35.