Skip to content

Commit f547ca8

Browse files
committed
2 parents 69763a1 + 1d20260 commit f547ca8

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

webhook/examples/crd-otelcol.yaml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
apiVersion: ext.appd.com/v1alpha1
2+
kind: OpenTelemetryCollector
3+
metadata:
4+
name: test
5+
spec:
6+
replicas: 1
7+
image: otel/opentelemetry-collector-contrib:latest
8+
imagePullPolicy: Always
9+
mode: deployment
10+
config: |-
11+
receivers:
12+
otlp:
13+
protocols:
14+
grpc:
15+
http:
16+
processors:
17+
batch:
18+
resource:
19+
attributes:
20+
- key: appdynamics.controller.account
21+
action: upsert
22+
value: "ceer"
23+
- key: appdynamics.controller.host
24+
action: upsert
25+
value: "ceer.saas.appdynamics.com"
26+
- key: appdynamics.controller.port
27+
action: upsert
28+
value: 443
29+
exporters:
30+
logging:
31+
loglevel: debug
32+
# This part says that the opentelemetry collector will send data to OTIS pipeline for AppDynamicas CSaaS.
33+
otlphttp:
34+
tls:
35+
insecure: true
36+
endpoint: "https://<region>-sls-agent-api.saas.appdynamics.com"
37+
headers: {"x-api-key": "<api-key?>"}
38+
service:
39+
pipelines:
40+
traces:
41+
receivers: [otlp]
42+
processors: [batch, resource]
43+
exporters: [logging, otlphttp]
44+
telemetry:
45+
logs:
46+
level: "debug"
47+
48+

0 commit comments

Comments
 (0)