feat(metrics): add HTTP protocol to OTLP endpoint and update discovery rules
This commit is contained in:
@@ -28,6 +28,7 @@ destinations:
|
|||||||
gc-otlp-endpoint:
|
gc-otlp-endpoint:
|
||||||
type: otlp
|
type: otlp
|
||||||
url: https://otlp-gateway-prod-eu-west-2.grafana.net/otlp
|
url: https://otlp-gateway-prod-eu-west-2.grafana.net/otlp
|
||||||
|
protocol: http
|
||||||
auth:
|
auth:
|
||||||
type: basic
|
type: basic
|
||||||
username: "1634203"
|
username: "1634203"
|
||||||
@@ -54,6 +55,12 @@ podLogsViaLoki:
|
|||||||
namespaces:
|
namespaces:
|
||||||
- nowchess
|
- nowchess
|
||||||
- nowchess-staging
|
- nowchess-staging
|
||||||
|
extraDiscoveryRules: |
|
||||||
|
rule {
|
||||||
|
source_labels = ["__meta_kubernetes_pod_container_name"]
|
||||||
|
regex = "nowchess-frontend"
|
||||||
|
action = "drop"
|
||||||
|
}
|
||||||
applicationObservability:
|
applicationObservability:
|
||||||
enabled: true
|
enabled: true
|
||||||
collector: alloy-receiver
|
collector: alloy-receiver
|
||||||
@@ -69,13 +76,14 @@ annotationAutodiscovery:
|
|||||||
namespaces:
|
namespaces:
|
||||||
- nowchess
|
- nowchess
|
||||||
- nowchess-staging
|
- nowchess-staging
|
||||||
|
- redis
|
||||||
metricsTuning:
|
metricsTuning:
|
||||||
includeMetrics:
|
includeMetrics:
|
||||||
- nowchess.*
|
- nowchess.*
|
||||||
- http_server.*
|
- http_server.*
|
||||||
- grpc_server.*
|
- grpc_server.*
|
||||||
- grpc_client.*
|
- grpc_client.*
|
||||||
- redis.*
|
- redis_stream_length
|
||||||
- worker_pool.*
|
- worker_pool.*
|
||||||
- process_cpu.*
|
- process_cpu.*
|
||||||
- process_uptime.*
|
- process_uptime.*
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ image:
|
|||||||
tag: "8.6.2-trixie"
|
tag: "8.6.2-trixie"
|
||||||
|
|
||||||
master:
|
master:
|
||||||
|
podAnnotations:
|
||||||
|
k8s.grafana.com/scrape: "true"
|
||||||
|
k8s.grafana.com/metrics.portNumber: "9121"
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
|
|||||||
Reference in New Issue
Block a user