cappyzawa
ffbc25efda
Add count metrics for canary successes and failures
...
Implement flagger_canary_successes_total and flagger_canary_failures_total
counter metrics with deployment strategy detection and analysis status
tracking for better observability of canary deployment outcomes.
Signed-off-by: cappyzawa <cappyzawa@gmail.com >
2025-10-08 13:53:03 +09:00
cappyzawa
16f54923b2
Add metrics verification to controller tests
...
Enhance existing scheduler tests for deployments, daemonsets, and
services by adding prometheus metrics verification using testutil.
This ensures that status metrics are correctly recorded during
canary promotion workflows and provides better test coverage for
the metrics recording functionality.
Signed-off-by: cappyzawa <cappyzawa@gmail.com >
2025-10-08 13:47:11 +09:00
Nick Otter
8f9bb5b1bc
allow headers to be added to prometheus requests
...
Signed-off-by: Nick Otter <otternq@gmail.com >
Co-authored-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2025-03-27 01:03:23 +05:30
Stefan Prodan
eaf5bb992c
Ensure constant format strings in fmt calls
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-03-23 08:59:45 +02:00
Thomas Banks
f1c8807c0d
feat: add knative integration
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
Co-authored-by: Thomas Banks
2025-03-22 01:02:30 +05:30
Markus Dobel
2c4b7a69a2
fix: do not evaluate incomplete samples from datadog
...
Signed-off-by: Markus Dobel <markus.dobel@epicompany.eu >
2025-02-12 18:12:38 +01:00
kane8n
d4bd0f2ef8
add splunk provider
...
Signed-off-by: kane8n <takumi.kaneda@zozo.com >
2024-12-13 22:22:25 +09:00
Sanskar Jaiswal
90054b3b27
kuma: bump e2e version to 2.7.5
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2024-07-26 15:27:46 +05:30
Federico Nafria
2d5e289142
Fix Nginx request-duration query
...
`nginx_ingress_controller_ingress_upstream_latency_seconds_sum` measures the connection latency, not the time it takes the backend to respond.
Fixes #1685
Signed-off-by: Federico Nafria <federiconafria@gmail.com >
2024-07-19 17:08:02 +00:00
Florian Bacher
ce976e28f0
feat: implement a Keptn metrics provider
...
Add a Keptn metrics provider for two resources:
* KeptnMetric: Verify the value of a single metric.
* Analysis (via AnalysisDefinition): Run a Keptn analysis over an
interval validating SLOs.
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com >
2024-06-11 19:23:03 +05:30
Tanner Altares
e5dfbf4adc
Signed-off-by: Tanner Altares <ta924@yahoo.com>
...
block panic when prom returns range vector
2024-05-22 18:51:04 +05:30
miguelvalerio
c812dcffc1
fix traefik request-duration metric
...
Signed-off-by: miguelvalerio <miguelgomes.valerio@gmail.com >
2023-08-28 20:14:53 +05:30
Robin
7b7cdcf7cd
fix: typo on "Parase", should be "Parse".
...
title says it all.
Signed-off-by: Robin <330836+RobinNil@users.noreply.github.com >
2023-06-23 08:04:24 -04:00
Nelson Johnstone
6786668684
updated canary CRD and query rendering
...
Signed-off-by: Nelson Johnstone <93178586+njohnstone2@users.noreply.github.com >
2023-02-08 11:41:58 +10:00
Wallace Wadge
a50d7de86d
Allow access to Prometheus in OpenShift via SA token
...
Fixes: https://github.com/fluxcd/flagger/issues/1064
Signed-off-by: Wallace Wadge <wwadge@gmail.com >
2023-01-18 08:56:53 +01:00
Gallardot
ce52408bbc
improve apisix router and metric observer
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 17:52:38 +05:30
Gallardot
3e9fe97ba3
[apisix] Implement router interface and observer interface
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 14:46:42 +05:30
Sanskar Jaiswal
3418488902
update Go to 1.19
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-10-12 12:40:15 +05:30
brandoncate
e1bd004683
fix contour prom query when service name is specified
...
Signed-off-by: brandoncate <brandon.cate@shipt.com >
2022-06-17 10:07:00 -05:00
Stefan Prodan
793b93c665
Merge pull request #1148 from cdlliuy/add_canary_analysis_result_as_metric
...
Add canary analysis result as Prometheus metrics
2022-04-06 07:57:23 +03:00
ying
13483321ac
Update pkg/metrics/recorder.go
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com >
Signed-off-by: Ying Liu <ying.liu.lying@gmail.com >
2022-03-25 23:10:03 +08:00
Ying Liu
5547533197
add canary analysis result as prometheus metrics
...
Signed-off-by: Ying Liu <ying.liu.lying@gmail.com >
2022-03-25 23:10:03 +08:00
Sanskar Jaiswal
5e1d00d4d2
add router_test and make test install script platform agnostic
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-03-10 16:54:36 +05:30
Sanskar Jaiswal
174e9fdc93
Add support for Gateway API as a provider.
...
Adds Gateway API as a provider for progressive traffic shifting, A/B
testing and Blue-Green testing. Adds a new field in the Canary
`spec.service.gatewayRefs` which specifies the Gateway that Flagger
should use.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-03-10 16:54:36 +05:30
ashokhein
cd3a1d8478
fixed bug when Prometheus returns NaN
...
Signed-off-by: ashokhein <ashokhein@gmail.com >
2022-01-24 12:58:57 +00:00
John Harris
47be2a25f2
Add Kuma routing and metrics
...
Signed-off-by: John Harris <john.harris@konghq.com >
2021-12-18 14:07:59 -08:00
Léopold Jacquot
7d2f3dea7a
Use nginx controller canary metrics
...
Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com >
2021-09-30 11:12:37 +02:00
GregoireW
13a2a5073f
Add dynatrace provider
...
Signed-off-by: GregoireW <24318548+GregoireW@users.noreply.github.com >
2021-09-16 10:48:51 +02:00
Somtochi Onyekwere
cfb68a6e56
Add Influxdb provider
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-09-16 08:55:40 +01:00
Somtochi Onyekwere
056ba675a7
Add stackdriver metrics analysis
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2021-09-01 18:25:59 +01:00
Johnson Shi
11375b6890
Support OSM progressive traffic shifting
...
Signed-off-by: Johnson Shi <Johnson.Shi@microsoft.com >
2021-08-11 17:43:00 -07:00
shuheiktgw
38d3ca1022
chore: Drop deprecated io/ioutil
...
Signed-off-by: shuheiktgw <shuheiktgw@users.noreply.github.com >
2021-07-31 08:25:46 +09:00
Joakim Ahrlin
0dc6f33550
Add insecureSkipVerify option for Prometheus and Graphite
...
Add insecureSkipVerify option for Prometheus and Graphite
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@embark-studios.com >
2021-06-15 19:28:25 +03:00
Mike Ball
4654f2cba9
add a Graphite metrics provider
...
This adds a Graphite metric provider to address
issue #911 .
Co-authored-by: Mike Ball <mike.ball@warnermedia.com >
Co-authored-by: Nathan Mische <Nathan.Mische@warnermedia.com >
Signed-off-by: Mike Ball <mike.ball@warnermedia.com >
Signed-off-by: Nathan Mische <Nathan.Mische@warnermedia.com >
2021-05-24 09:16:00 -04:00
Keerthan Ekbote
fdc8dd8795
fixed observers test
...
Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io >
2021-05-05 11:29:14 -04:00
Keerthan Ekbote
fd778be943
updated prom queries to new envoy clusters
...
Signed-off-by: Keerthan Ekbote <keerthan.ekbote@solo.io >
2021-04-29 19:12:01 -04:00
Stefan Prodan
cd75c5fa25
Copyright Flux authors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:44:52 +02:00
Stefan Prodan
90abb7ba5b
Rename imports to fluxcd/flagger
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:02:23 +02:00
nmlc
642d3678ec
[traefik] Implement observer interface
2020-11-25 07:54:15 +05:00
Filip Petkovski
68e4e1cc68
Apply suggestions from code review
...
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-09-09 13:51:27 +02:00
Filip Petkovski
2c249e2a92
Add New Relic as a metrics provider
2020-09-09 12:10:53 +02:00
Samuel Lang
ad8233cf46
👷 Add high-level E2E test steps for Skipper
...
Add e2e-skipper* files for test setup
It does the following things:
* install Skipper ingress with Kustomize
* load Flagger image onto the local cluster
* install Flagger and Prometheus in the flagger-system namespace
2020-08-18 17:02:45 +02:00
Samuel Lang
39e55daa04
📈 Skipper Metrics Observer
...
Te be able to distinct Skipper routes we need to combine the Canary data to generate the Skipper metric label.
"request-success-rate" and "request-duration" queries are implemented and tested that provide those obersvations from Skipper metrics
* Takes into account how Skipper renders the paths accordingly and reformats the quieries.
2020-08-17 08:23:38 +02:00
stefanprodan
e8ca5f270b
Change builtin metrics to work with Istio >= 1.5
2020-06-17 10:13:29 +03:00
mathetake
ad73643e4a
pkg/metrics/provideres: delete fake value
2020-05-15 19:36:11 +09:00
mathetake
772099f073
pkg/metrics/providers: remove redundant assertion in prometheus test
2020-05-14 17:48:14 +09:00
stefanprodan
854d7665f0
Add AppMesh v1beta2 to factories
2020-05-08 13:15:37 +03:00
stefanprodan
2d1c4a9d84
Use API providers in observer factory
2020-05-06 01:14:41 +03:00
Tariq Ibrahim
d41ed43ef9
fix issues reported by the linter
2020-04-17 11:45:44 -07:00
Arnaud Lemaire
4a4f8555df
Check prometheus is online with simple query
2020-04-15 10:29:05 +02:00