Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
Signed-off-by: walnuts1018 <[email protected]>
  • Loading branch information
walnuts1018 committed Nov 2, 2024
1 parent 3112112 commit 2fb6878
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 39 deletions.
34 changes: 0 additions & 34 deletions k8s/apps/opentelemetry-instrumentations/default.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions k8s/apps/opentelemetry-instrumentations/kustomization.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions k8s/argocdapps/opentelemetry-instrumentations/app.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
name: "opentelemetry-instrumentations",
namespace: "opentelemetry-collector",
}
44 changes: 44 additions & 0 deletions k8s/argocdapps/opentelemetry-instrumentations/default.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
apiVersion: 'opentelemetry.io/v1alpha1',
kind: 'Instrumentation',
metadata: {
name: 'default',
},
spec: {
exporter: {
endpoint: 'http://default-collector.opentelemetry-collector.svc.cluster.local:4317',
},
propagators: [
'tracecontext',
'baggage',
],
sampler: {
type: 'parentbased_traceidratio',
argument: '1',
},
python: {
env: [
{
name: 'OTEL_EXPORTER_OTLP_ENDPOINT',
value: 'http://default-collector.opentelemetry-collector.svc.cluster.local:4318',
},
],
},
dotnet: {
env: [
{
name: 'OTEL_EXPORTER_OTLP_ENDPOINT',
value: 'http://default-collector.opentelemetry-collector.svc.cluster.local:4318',
},
],
},
go: {
env: [
{
name: 'OTEL_EXPORTER_OTLP_ENDPOINT',
value: 'http://default-collector.opentelemetry-collector.svc.cluster.local:4318',
},
],
},
},
}

0 comments on commit 2fb6878

Please sign in to comment.