forked from mtusi2026/mtusi2026lab7
lab 7
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"receivers": {
|
||||
"otlp": {
|
||||
"protocols": {
|
||||
"http": {
|
||||
"endpoint": "127.0.0.1:14318"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"processors": {
|
||||
"memory_limiter": {
|
||||
"check_interval": "1s",
|
||||
"limit_mib": 192,
|
||||
"spike_limit_mib": 32
|
||||
},
|
||||
"batch": {
|
||||
"timeout": "1s",
|
||||
"send_batch_size": 128,
|
||||
"send_batch_max_size": 256
|
||||
}
|
||||
},
|
||||
"exporters": {
|
||||
"prometheus": {
|
||||
"endpoint": "127.0.0.1:18889",
|
||||
"resource_to_telemetry_conversion": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"otlphttp/tempo": {
|
||||
"endpoint": "https://tempo:4318",
|
||||
"tls": {
|
||||
"ca_file": "/run/trust/ca.crt",
|
||||
"cert_file": "/run/identity/service.crt",
|
||||
"key_file": "/run/identity/service.key"
|
||||
},
|
||||
"timeout": "2s",
|
||||
"sending_queue": {
|
||||
"enabled": true,
|
||||
"num_consumers": 2,
|
||||
"queue_size": 64
|
||||
},
|
||||
"retry_on_failure": {
|
||||
"initial_interval": "1s",
|
||||
"max_interval": "3s",
|
||||
"max_elapsed_time": "10s"
|
||||
}
|
||||
},
|
||||
"otlphttp/loki": {
|
||||
"endpoint": "https://loki:3100/otlp",
|
||||
"tls": {
|
||||
"ca_file": "/run/trust/ca.crt",
|
||||
"cert_file": "/run/identity/service.crt",
|
||||
"key_file": "/run/identity/service.key"
|
||||
},
|
||||
"timeout": "2s",
|
||||
"sending_queue": {
|
||||
"enabled": true,
|
||||
"num_consumers": 2,
|
||||
"queue_size": 64
|
||||
},
|
||||
"retry_on_failure": {
|
||||
"initial_interval": "1s",
|
||||
"max_interval": "3s",
|
||||
"max_elapsed_time": "10s"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extensions": {
|
||||
"health_check": {
|
||||
"endpoint": "127.0.0.1:13134"
|
||||
}
|
||||
},
|
||||
"service": {
|
||||
"extensions": [
|
||||
"health_check"
|
||||
],
|
||||
"telemetry": {
|
||||
"metrics": {
|
||||
"readers": [
|
||||
{
|
||||
"pull": {
|
||||
"exporter": {
|
||||
"prometheus": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 18888
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pipelines": {
|
||||
"traces": {
|
||||
"receivers": [
|
||||
"otlp"
|
||||
],
|
||||
"processors": [
|
||||
"memory_limiter",
|
||||
"batch"
|
||||
],
|
||||
"exporters": [
|
||||
"otlphttp/tempo"
|
||||
]
|
||||
},
|
||||
"logs": {
|
||||
"receivers": [
|
||||
"otlp"
|
||||
],
|
||||
"processors": [
|
||||
"memory_limiter",
|
||||
"batch"
|
||||
],
|
||||
"exporters": [
|
||||
"otlphttp/loki"
|
||||
]
|
||||
},
|
||||
"metrics": {
|
||||
"receivers": [
|
||||
"otlp"
|
||||
],
|
||||
"processors": [
|
||||
"memory_limiter",
|
||||
"batch"
|
||||
],
|
||||
"exporters": [
|
||||
"prometheus"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user