Conversation
Expose the STAC metrics endpoint through the chart and add coverage for the generated service configuration.
pantierra
self-requested a review
September 15, 2026 20:51
Contributor
|
Please review CONTRIBUTING.md for the AI Use Policy. Thank you. |
pantierra
removed their request for review
September 15, 2026 20:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add optional Prometheus scraping support for the eoAPI STAC service in the Helm chart.
This change supports the OpenAerialMap v2 observability work by allowing the STAC service to expose its
/metricsendpoint and by generating a Prometheus OperatorServiceMonitorfor it.Monitoring remains disabled by default and must be explicitly enabled.
Changes
ServiceMonitorgeneration.httpservice port./metricspath.OpenAerialMap Context
This is the infrastructure portion of the first observability increment for OpenAerialMap v2.
The related OAM application change adds Prometheus instrumentation to the STAC API and exposes
/metricswhen enabled. This PR adds the Kubernetes chart configuration needed for Prometheus Operator discovery and scraping.Related application repository:
https://github.com/hotosm/openaerialmap
Related OAM issue:
Validation
The chart and integration were validated locally using a Kubernetes cluster with Prometheus support.
Validated:
ServiceMonitoris generated when monitoring is disabled.ServiceMonitorselects the STAC service.ServiceMonitoruses the namedhttpport./metrics./metricswhen Prometheus monitoring is enabled.up = 1.Scope
This PR does not include:
Those should be handled as follow-up work.
Checklist