Raj Chaudhuri
c1d3107418
Changed module name, edited default manifests in prog/weave-kube
...
* Module name changed to `github.com/rajch/weave`
* Added environment variable `CHECKPOINT_DISABLE=1` to default manifests, to bypass weaveworks telemetry
2024-03-01 18:05:19 +05:30
Bryan Boreham
d14502e071
Update Prometheus client to latest version
...
Also let Prometheus export process and Go metrics
2020-08-04 10:11:28 +00:00
Bryan Boreham
2cc5c635c9
Add 'encrypted' label to connections metric
...
Extend tests to check it shows up.
Tests assume that metrics are published with metrics in alphabetical
order, which appears to be the case for now.
2020-07-30 11:07:33 +00:00
Bryan Boreham
865e2b726f
Ensure maps for connection counts are created before use
...
We know all the expected states, so can pre-create maps
2020-07-30 10:25:14 +00:00
Dave Henderson
2deb7e2e48
Add new 'type' label to weave_connections metric
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2020-07-30 10:24:38 +00:00
Bryan Boreham
df688cfb53
Added weave_ipam_unreachable_percentage metric
2017-09-26 15:55:38 +00:00
Carlos Alexandro Becker
ab1cbcbbf8
prometheus: export count of unreachable peers ( #3119 )
...
* prometheus: export count of unreachable peers
* extracted part of printIPAMRanges
2017-09-26 16:50:10 +01:00
Bryan Boreham
f8d501ae50
Specify fields when creating WeaveStatus object
2017-05-11 13:29:28 +00:00
Mike Bryant
fad537cad7
Add prometheus metrics for pending Allocates and Claims
2017-02-23 11:41:07 +00:00
Adam Harrison
915638d17a
Address linter failures
2016-11-14 15:13:19 +00:00
Bryan Boreham
eb60f68df2
Report metrics on all connection states
2016-11-02 09:51:13 +00:00
Bryan Boreham
2b4da35b1c
Remove 'total' DNS entries; let the caller add them up
2016-11-01 18:03:35 +00:00
Bryan Boreham
86d68c9875
Move total IPs in range from a state to a separate metric
2016-11-01 18:03:35 +00:00
Martynas Pumputis
ede70a78d6
Rename weave_connection_termination_count metric
...
To make it follow the Prometheus naming conventions:
https://prometheus.io/docs/practices/naming/
2016-10-31 13:23:12 +00:00
Martynas Pumputis
5c2e878c64
Do not expose IPAM or DNS metrics when weave does not run IPAM or DNS
...
Otherwise, GET /metrics will crash weaver.
2016-10-25 16:54:35 +01:00
Martynas Pumputis
b1d6605e8f
Remove inaccurate Prometheus metrics
...
The metrics include:
- weave_packets_total
- weave_bytes_total
The problem with those metrics is that fastdp periodically flushes
flows including their stats thus makes the current implementation
of the metrics unreliable.
2016-10-24 11:23:10 +01:00
Bryan Boreham
4d8a40c0b5
Reduce metrics mechanism to just support fastdp
2016-10-21 14:44:12 +01:00
Bryan Boreham
b8d619dde7
Add Prometheus http handler for metrics
...
Metrics are: connection counts, active IP addresses, DNS addresses,
FastDP flow metrics, connection termination count
2016-10-20 16:25:16 +01:00