feat: Add opentelemetry collection to Plume
This commit is contained in:
@@ -4,5 +4,6 @@
|
|||||||
"appEnv": "prod",
|
"appEnv": "prod",
|
||||||
"appNamespace": "prod-plume",
|
"appNamespace": "prod-plume",
|
||||||
"appVersion": "1.0.0",
|
"appVersion": "1.0.0",
|
||||||
"cacheDir": "/data/archives/cache"
|
"cacheDir": "/data/archives/cache",
|
||||||
|
"otelCollector": "http://10.255.241.12:4317"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Configuration
|
||||||
|
metadata:
|
||||||
|
name: tracing
|
||||||
|
spec:
|
||||||
|
tracing:
|
||||||
|
samplingRate: "1"
|
||||||
|
otel:
|
||||||
|
endpointAddress: "10.255.241.12:4317"
|
||||||
|
protocol: grpc
|
||||||
|
isSecure: false
|
||||||
@@ -4,5 +4,6 @@
|
|||||||
"appEnv": "staging",
|
"appEnv": "staging",
|
||||||
"appNamespace": "staging-plume",
|
"appNamespace": "staging-plume",
|
||||||
"appVersion": "0.0.0",
|
"appVersion": "0.0.0",
|
||||||
"cacheDir": "/data/archives/cache"
|
"cacheDir": "/data/archives/cache",
|
||||||
|
"otelCollector": "http://10.255.241.12:4317"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Configuration
|
||||||
|
metadata:
|
||||||
|
name: tracing
|
||||||
|
spec:
|
||||||
|
tracing:
|
||||||
|
samplingRate: "1"
|
||||||
|
otel:
|
||||||
|
endpointAddress: "10.255.241.12:4317"
|
||||||
|
protocol: grpc
|
||||||
|
isSecure: false
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
tag: 0cb7f469-debug
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
dapr.io/app-id: "prod-plume"
|
dapr.io/app-id: "prod-plume"
|
||||||
@@ -11,6 +10,10 @@ podAnnotations:
|
|||||||
dapr.io/sidecar-cpu-request: "10m"
|
dapr.io/sidecar-cpu-request: "10m"
|
||||||
dapr.io/sidecar-memory-request: "50Mi"
|
dapr.io/sidecar-memory-request: "50Mi"
|
||||||
env:
|
env:
|
||||||
|
- name: APP_VERSION
|
||||||
|
value: "4.16.3"
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "2"
|
||||||
- name: DAPR_API_TOKEN
|
- name: DAPR_API_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ podAnnotations:
|
|||||||
dapr.io/sidecar-cpu-request: "10m"
|
dapr.io/sidecar-cpu-request: "10m"
|
||||||
dapr.io/sidecar-memory-request: "50Mi"
|
dapr.io/sidecar-memory-request: "50Mi"
|
||||||
env:
|
env:
|
||||||
|
- name: APP_VERSION
|
||||||
|
value: "0.0.0-staging"
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "1"
|
||||||
- name: DAPR_API_TOKEN
|
- name: DAPR_API_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user