update readme for prometheus

This commit is contained in:
kongfei 2022-07-12 12:14:30 +08:00
parent 072649941e
commit 1ec707fc9b
1 changed files with 10 additions and 0 deletions

10
prometheus/README.md Normal file
View File

@ -0,0 +1,10 @@
# prometheus
Categraf simply wrapped prometheus agent mode fuction, which means you can scrape metrics like prometheus do and get full support with prometheus plugins, such as service discovery and relabel.
For more details, see the official docs:
- https://github.com/prometheus/prometheus/tree/main/documentation/examples
## Configuration
An [example](../conf/in_cluster_scrape.yaml) to scrape kube-apiserver and core-dns metrics .
more examples click [here](https://github.com/prometheus/prometheus/tree/main/documentation/examples)