Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Prometheus Metrics

Check

Check

Gather and check Prometheus metrics.
Targets:
Prometheus instances
Install now

Prometheus Metrics

Gather and check Prometheus metrics.
Check

Check

Targets:
Prometheus instances
Install now

Prometheus Metrics

Check

Check

Gather and check Prometheus metrics.
Targets:
Prometheus instances
Install now

Prometheus Metrics

Gather and check Prometheus metrics.
Check

Check

Targets:
Prometheus instances
Install now
Go back to list
Experiment editor showing how two collected metrics can be compared.Experiment editor showing how two collected metrics can be compared.
Metrics can be defined using PromQL.Metrics can be defined using PromQL.
Prometheus metric checks can fail the experiments.Prometheus metric checks can fail the experiments.

Introduction

With the Prometheus metric check, you can gather Prometheus metrics (using PromQL). Once gathered, you can optionally add a metric check on top. This capability is tremendously helpful in interacting with existing metric pipelines and Prometheus alerts.

Use Cases

  • Leverage Prometheus alerts to validate a hypothesis.
  • Validate that Prometheus alerting rules are functional, i.e., that they trigger during incidents.
  • Try new alerting rules, e.g., from Awesome Prometheus Alerts.
  • Collect Prometheus metrics for later visualization.
  • Compare Prometheus metrics against each other.

Rollback

No rollback necessary.

Parameters

ParameterDescriptionDefault
DurationHow long should the metric collector and evaluator run?30s
QueryPromQL metric to send to the chosen Prometheus servers
CheckRules that can fail the experiment.

Installation

To install the chart with the name steadybit-extension-prometheus.

copy the code
helm repo add steadybit https://steadybit.github.io/helm-charts
helm repo update
helm upgrade steadybit-extension-prometheus \
--install \
--wait \
--timeout 5m0s \
--create-namespace \
--namespace steadybit-extension \
--set prometheus.name="dev" \
--set prometheus.origin="http://prometheus-server.default.svc.cluster.local" \
steadybit/steadybit-extension-prometheus

You may alternatively start the Docker container manually.

copy the code
docker run \
--env STEADYBIT_LOG_LEVEL=info \
--expose 8087 \
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_NAME="{{SYMBOLIC_NAME}}" \
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_ORIGIN="{{PROMETHEUS_INSTANCE_SERVER_ORIGIN}}" \
steadybit/extension-prometheus:latest
Statistics
-Downloads
-Stars
Tags
kubernetes
prometheus
promql
queries
metrics
monitoring
observability
Homepage
github.com/steadybit/extension-prometheus
License
MIT
MaintainerSteadybit
Start using Steadybit for free

Steadybit is free for personal use. Start your journey towards reliability!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Steadybit logoResilience Hub
Try Steadybit
HubActionsTargetsExtensionsRecipes
© 2023 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon