https://github.com/devopsmariocom/prometheus-data-inspector
Fetch data from prometheus federation endpoint
https://github.com/devopsmariocom/prometheus-data-inspector
Last synced: 9 months ago
JSON representation
Fetch data from prometheus federation endpoint
- Host: GitHub
- URL: https://github.com/devopsmariocom/prometheus-data-inspector
- Owner: devopsmariocom
- License: mit
- Created: 2020-11-03T09:28:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-13T12:21:36.000Z (over 5 years ago)
- Last Synced: 2025-07-08T23:48:11.825Z (9 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prometheus Data Inspector
1. Fetch data from prometheus federation endpoint ( data are stored for later usage and cache in /data container folder )
2. Sum series by namespace and by count
## Run
```bash
$ docker run -it --rm -v ${PWD}/prometheus-data-inspector-cache:/data elmariofredo/prometheus-data-inspector:v0.1 https://prometheus.apps-k8s-pdc-blue.cz.infra/federate 'match[]={__name__=~".+"}'
Top namespaces:
134605 namespace="kube-system"
Top series:
6096 node_cpu_seconds_total
4257 node_nfs_requests_total
2080 node_scrape_collector_success
2080 node_scrape_collector_duration_seconds
1526 node_filesystem_device_error
1524 node_cpu_guest_seconds_total
1505 node_disk_written_bytes_total
1505 node_disk_writes_merged_total
1505 node_disk_writes_completed_total
1505 node_disk_write_time_seconds_total
1505 node_disk_reads_merged_total
1505 node_disk_reads_completed_total
1505 node_disk_read_time_seconds_total
1505 node_disk_read_bytes_total
1505 node_disk_io_time_weighted_seconds_total
1505 node_disk_io_time_seconds_total
1505 node_disk_io_now
1505 node_disk_discards_merged_total
1505 node_disk_discards_completed_total
1505 node_disk_discarded_sectors_total
1505 node_disk_discard_time_seconds_total
1315 prometheus_target_sync_length_seconds
1064 net_conntrack_dialer_conn_failed_total
984 node_network_up
984 node_network_transmit_queue_length
984 node_network_transmit_packets_total
984 node_network_transmit_fifo_total
984 node_network_transmit_errs_total
984 node_network_transmit_drop_total
984 node_network_transmit_compressed_total
```