Skip to content
check-circle

GitHub Action

Metric existence check

v0.0.1 Latest version

Metric existence check

check-circle

Metric existence check

Validate metric existence using python script quering against prometheus endpoint

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Metric existence check

uses: LukoJy3D/[email protected]

Learn more about this action in LukoJy3D/metricsure

Choose a version

Stand With Ukraine Test metricsure Star on GitHub

metricsure

Simple github action to validate metric existence with specific labels and values against prometheus like endpoint.

Inputs

  • endpoint - Prometheus like endpoint to query metrics from.
  • metric - Metric name to query. (Currently only supports single metric)
  • label - Label name to query. (Currently only supports single label)
  • values - Label values to query.

Outputs

invalid_values - List of values that did not return any metrics from the endpoint.