mirror of
https://github.com/demostf/setup.git
synced 2026-11-07 07:47:52 +01:00
37 lines
793 B
YAML
37 lines
793 B
YAML
|
|
{
|
||
|
|
"listen": {
|
||
|
|
"address": "0.0.0.0",
|
||
|
|
"metrics_endpoint": "/metrics",
|
||
|
|
"port": 80
|
||
|
|
},
|
||
|
|
"namespaces": [
|
||
|
|
{
|
||
|
|
"format": "$remote_addr $host - $remote_user [$time_local] \"$request\" $status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" rt=$request_time uct=\"$upstream_connect_time\" uht=\"$upstream_header_time\" urt=\"$upstream_response_time\"",
|
||
|
|
"histogram_buckets": [
|
||
|
|
0.005,
|
||
|
|
0.01,
|
||
|
|
0.025,
|
||
|
|
0.05,
|
||
|
|
0.1,
|
||
|
|
0.25,
|
||
|
|
0.5,
|
||
|
|
1,
|
||
|
|
2.5,
|
||
|
|
5,
|
||
|
|
10
|
||
|
|
],
|
||
|
|
"name": "nginx",
|
||
|
|
"relabel_configs": [
|
||
|
|
{
|
||
|
|
"from": "host",
|
||
|
|
"target_label": "host"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"source": {
|
||
|
|
"files": [
|
||
|
|
"/logs/nginxlog.log"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|