Add kuma prometheus exporter
This commit is contained in:
parent
2d1a5be02a
commit
8b1002aef3
1 changed files with 10 additions and 0 deletions
|
@ -75,6 +75,16 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 9001;
|
port = 9001;
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
|
{
|
||||||
|
job_name = "kuma";
|
||||||
|
scrape_interval = "30s";
|
||||||
|
scheme = "http";
|
||||||
|
static_configs = [{
|
||||||
|
targets = [ "192.168.1.90:3001" ];
|
||||||
|
}];
|
||||||
|
basic_auth.username = "tbarnouin";
|
||||||
|
basic_auth.password_file = "/run/secrets/grafana/kuma_token";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
job_name = "grafana";
|
job_name = "grafana";
|
||||||
static_configs = [{
|
static_configs = [{
|
||||||
|
|
Loading…
Reference in a new issue