Skip to content

Implement metric templates for Prometheus#419

Merged
stefanprodan merged 7 commits intomasterfrom
metric-template
Feb 7, 2020
Merged

Implement metric templates for Prometheus#419
stefanprodan merged 7 commits intomasterfrom
metric-template

Conversation

@stefanprodan
Copy link
Copy Markdown
Member

@stefanprodan stefanprodan commented Jan 29, 2020

This PR adds support for metric templates as specified in #418

Changes:

  • add MetricTemplate type, CRD and clientset
  • implement Prometheus provider for metric templates
  • add basic-auth support to Prometheus provider
  • migrate the builtin Prometheus checks to metric templates
  • add support for defining and running custom checks based on metric templates

All changes are backwards compatible, using the builtin metrics or inlining the promQL query in the Canary custom resources work the same.

Fix: #418

@stefanprodan stefanprodan merged commit ea39041 into master Feb 7, 2020
@stefanprodan stefanprodan deleted the metric-template branch February 7, 2020 10:32
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.

Canary analysis metrics templating

1 participant