Skip to content

Commit

Permalink
add init helmchart for tempo and otel-collector
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Jan 26, 2024
1 parent 9f70d30 commit 4018b82
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/chainlink-cluster/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dependencies:
- name: mockserver
repository: https://www.mock-server.com
version: 5.14.0
- name: opentelemetry-collector
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.78.3
- name: tempo
repository: https://grafana.github.io/helm-charts
version: 1.7.1
digest: sha256:d269e6fcd3f41b53e19845c872a37493ff41da4e146e78bef0d6a75f388b69fa
generated: "2024-01-25T16:39:03.044229-06:00"
8 changes: 8 additions & 0 deletions charts/chainlink-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ dependencies:
version: "5.14.0"
repository: "https://www.mock-server.com"
condition: mockserver.enabled
- name: opentelemetry-collector
version: "0.78.3"
repository: "https://open-telemetry.github.io/opentelemetry-helm-charts"
condition: opentelemetry-collector.enabled
- name: tempo
version: "1.7.1"
repository: "https://grafana.github.io/helm-charts"
condition: tempo.enabled
48 changes: 48 additions & 0 deletions charts/chainlink-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,54 @@ runner:
type: NodePort
port: 8080

opentelemetry-collector:
enabled: true
mode: deployment
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:3100"
exporters:
file:
path: /tracing/trace-data.json
otlp:
endpoint: tempo:4317
tls:
insecure: true
service:
telemetry:
logs:
level: "debug"
pipelines:
traces:
receivers: [otlp]
exporters: [file,otlp]
tempo:
enabled: true
server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
http:
grpc:
ingester:
max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally
compactor:
compaction:
block_retention: 1h # overall Tempo trace retention. set for demo purposes
storage:
trace:
backend: local # backend configuration to use
wal:
path: /tmp/tempo/wal # where to store the the wal locally
local:
path: /tmp/tempo/blocks

ingress:
enabled: false
annotations: {}
Expand Down

0 comments on commit 4018b82

Please sign in to comment.