Skip to content

Commit

Permalink
Merge pull request #3 from hellspawn679/jaeger-v2-test
Browse files Browse the repository at this point in the history
Jaeger v2 test
  • Loading branch information
hellspawn679 authored Oct 1, 2024
2 parents 8fed143 + 82e4839 commit 9cf70cb
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 61 deletions.
1 change: 0 additions & 1 deletion charts/jaeger-v2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ keywords:
- jaeger
- opentracing
- tracing
- instrumentation
home: https://jaegertracing.io
icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg
sources:
Expand Down
6 changes: 4 additions & 2 deletions charts/jaeger-v2/templates/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ kind: ConfigMap
metadata:
name: my-config
namespace: default
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": before-hook-creation # Optional: Deletes the hook before the next installation
data:
config.yaml: |
service:
Expand All @@ -29,7 +32,6 @@ data:
processors:
batch: {{ toYaml .Values.processors.batch | indent 6 }}
adaptive_sampling: {{ toYaml .Values.processors.adaptive_sampling | indent 6 }}
exporters:
jaeger_storage_exporter: {{ toYaml .Values.exporters.jaeger_storage_exporter | indent 6 }}
jaeger_storage_exporter: {{ toYaml .Values.exporters.jaeger_storage_exporter | indent 6 }}
1 change: 1 addition & 0 deletions charts/jaeger-v2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: jaeger
labels:
app: jaeger
namespace: default
spec:
replicas: 1
selector:
Expand Down
108 changes: 50 additions & 58 deletions charts/jaeger-v2/values.yaml
Original file line number Diff line number Diff line change
@@ -1,71 +1,63 @@

service:
extensions: [jaeger_storage, jaeger_query, remote_sampling, healthcheckv2]
pipelines:
traces:
receivers: [otlp, jaeger, zipkin]
processors: [batch, adaptive_sampling]
exporters: [jaeger_storage_exporter]

extensions:
healthcheckv2:
use_v2: true
service:
extensions: [jaeger_storage, jaeger_query, remote_sampling, healthcheckv2]
pipelines:
traces:
receivers: [otlp, jaeger, zipkin]
processors: [batch, adaptive_sampling]
exporters: [jaeger_storage_exporter]

extensions:
healthcheckv2:
use_v2: true
http: {}

jaeger_query:
storage:
traces: some_store
traces_archive: another_store
ui:
config_file: ./cmd/jaeger/config-ui.json

jaeger_storage:
backends:
some_store:
memory:
max_traces: 100000
another_store:
memory:
max_traces: 100000

remote_sampling:
adaptive:
sampling_store: some_store
initial_sampling_probability: 0.1
http: {}
grpc: {}

receivers:
otlp:
protocols:
grpc: {}
http: {}

jaeger_query:
storage:
traces: some_store
traces_archive: another_store
ui:
config_file: ./cmd/jaeger/config-ui.json

jaeger_storage:
backends:
some_store:
memory:
max_traces: 100000
another_store:
memory:
max_traces: 100000

remote_sampling:
adaptive:
sampling_store: some_store
initial_sampling_probability: 0.1
http: {}
jaeger:
protocols:
grpc: {}
thrift_binary: {}
thrift_compact: {}
thrift_http: {}

receivers:
otlp:
protocols:
grpc: {}
http: {}

jaeger:
protocols:
grpc: {}
thrift_binary: {}
thrift_compact: {}
thrift_http: {}
zipkin: {}

zipkin: {}
processors:
batch: {}

processors:
batch: {}
adaptive_sampling: {}

exporters:
jaeger_storage_exporter: {}
exporters:
jaeger_storage_exporter: {}

image: "jaegertracing/jaeger:latest"
ports:
- name: http
port: 4317
- name: grpc
port: 4318

provisionDataStore:
cassandra: false
elasticsearch: false
kafka: false

0 comments on commit 9cf70cb

Please sign in to comment.