Skip to content

Conversation

kashalls
Copy link
Contributor

@kashalls kashalls commented Apr 7, 2025

Prometheus metrics are available from the application itself: https://github.com/itzg/mc-router/blob/master/cmd/mc-router/metrics.go#L31C8-L31C18

If you use this value in the helmchart, helm will fail during validation as it's not allowed in the schema.

Helm upgrade failed for release default/minecraft-router with chart mc-router@1.2.5+556b89e29b95: values don't meet the specifications of the schema(s) in the following chart(s): mc-router: - minecraftRouter.metrics.backend: minecraftRouter.metrics.backend must be one of the following: "discard", "expvar", "influxdb"

@itzg
Copy link
Owner

itzg commented Apr 7, 2025

The change looks great. Thanks. Please also bump the chart version to satisfy the build verification.

@kashalls
Copy link
Contributor Author

kashalls commented Apr 7, 2025

The change looks great. Thanks. Please also bump the chart version to satisfy the build verification.

Changed pushed @itzg .

@itzg itzg merged commit f7d654d into itzg:master Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants