forked from signalfx/splunk-otel-collector-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
instrumentation-enable-profiling-partially.yaml
71 lines (71 loc) · 2.06 KB
/
instrumentation-enable-profiling-partially.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
# Source: splunk-otel-collector/templates/operator/instrumentation.yaml
# Description: Enable the always on profiler but disable it for Java applications
# Documentation: https://docs.splunk.com/Observability/gdi/get-data-in/application/java/configuration/advanced-java-otel-configuration.html#java-settings-for-alwayson-profiling
# Input values.yaml:
# splunkObservability:
# accessToken: CHANGEME
# realm: us0
# logsEnabled: true
# profilingEnabled: true
# operator:
# enabled: true
# instrumentation:
# spec:
# java:
# env:
# - name: SPLUNK_PROFILER_ENABLED
# value: "false"
# - name: SPLUNK_PROFILER_MEMORY_ENABLED
# value: "false"
# certmanager:
# enabled: true
# Output instrumentation.yaml:
apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
name: default-splunk-otel-collector
labels:
app.kubernetes.io/name: splunk-otel-collector
helm.sh/chart: splunk-otel-collector-0.80.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: default
app.kubernetes.io/version: "0.80.0"
app: splunk-otel-collector
component: otel-operator
chart: splunk-otel-collector-0.80.0
release: default
heritage: Helm
app.kubernetes.io/component: otel-operator
spec:
dotnet:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(SPLUNK_OTEL_AGENT):4318
env:
- name: SPLUNK_OTEL_AGENT
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: SPLUNK_PROFILER_ENABLED
value: "true"
- name: SPLUNK_PROFILER_MEMORY_ENABLED
value: "true"
exporter:
endpoint: http://$(SPLUNK_OTEL_AGENT):4317
java:
image: ghcr.io/signalfx/splunk-otel-java/splunk-otel-java:v1.25.0
env:
- name: SPLUNK_PROFILER_ENABLED
value: "false"
- name: SPLUNK_PROFILER_MEMORY_ENABLED
value: "false"
propagators:
- tracecontext
- baggage
- b3
python:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://$(SPLUNK_OTEL_AGENT):4318