-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpatch.yaml
More file actions
47 lines (47 loc) · 2.46 KB
/
patch.yaml
File metadata and controls
47 lines (47 loc) · 2.46 KB
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
spec:
template:
metadata:
annotations:
oneagent.dynatrace.com/inject: "true"
metadata.dynatrace.com/process.technology: "nodejs"
spec:
containers:
- name: paymentservice
image: IMAGE_PLACEHOLDER #Get's replaced by the ci/cd pipeline
imagePullPolicy: Always
resources:
limits:
memory: 512Mi # To run OneAgent we reccomend 512Mi, Original 120Mi - https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-oneagent/memory-requirements
env:
- name: DT_LIVEDEBUGGER_COMMIT # https://www.dynatrace.com/support/help/shortlink/agent-logging
value: "main"
- name: DT_LIVEDEBUGGER_REMOTE_ORIGIN # https://www.dynatrace.com/support/help/shortlink/agent-logging
value: "GITLAB_URL_PLACEHOLDER/Otel-App/paymentservice"
- name: DT_RELEASE_VERSION
value: "VERSION_PLACEHOLDER"
- name: DT_RELEASE_BUILD_VERSION
value: "BUILDVERSION_PLACEHOLDER"
- name: DT_RELEASE_PRODUCT
value: "PRODUCT_PLACEHOLDER"
- name: DT_RELEASE_STAGE
value: "STAGE_PLACEHOLDER"
- name: DT_LOGLEVELCON # https://www.dynatrace.com/support/help/shortlink/agent-logging
value: "" # info
- name: DT_LOGCON_PROC
value: "" # stdout
- name: DT_LOGGING_DESTINATION
value: "" # stdout
- name: DT_LOGGING_NODEJS_FLAGS
value: '' # Exporter=true,SpanProcessor=true,Propagator=true,Core=true
- name: OTEL_COLLECTOR_NAME
value: 'dynatrace-otel-gateway-collector'
- name: OTEL_TRACES_EXPORTER
value: 'none' # 'console', 'none', 'otlp'
- name: OTEL_LOGS_EXPORTER
value: 'none' # 'console', 'none', 'otlp'
- name: OTEL_METRICS_EXPORTER
value: 'console,otlp' # 'console', 'none', 'otlp'
- name: OTEL_NODE_DISABLED_INSTRUMENTATIONS # https://github.com/open-telemetry/opentelemetry-js-contrib/blob/167dced09de0d2104561542b4f83047fa656505f/metapackages/auto-instrumentations-node/package.json#L51
value: '' # other examples - http,grpc,dns,net
- name: NODE_OPTIONS
value: '' # - do not instrument at all with things like '-r ./Instrumentation.js' Avoid duplicate spans from OA and Otel - https://opentelemetry.io/docs/zero-code/js/