Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chrlic committed Jun 27, 2024
2 parents 69763a1 + 1d20260 commit f547ca8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions webhook/examples/crd-otelcol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: ext.appd.com/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: test
spec:
replicas: 1
image: otel/opentelemetry-collector-contrib:latest
imagePullPolicy: Always
mode: deployment
config: |-
receivers:
otlp:
protocols:
grpc:
http:
processors:
batch:
resource:
attributes:
- key: appdynamics.controller.account
action: upsert
value: "ceer"
- key: appdynamics.controller.host
action: upsert
value: "ceer.saas.appdynamics.com"
- key: appdynamics.controller.port
action: upsert
value: 443
exporters:
logging:
loglevel: debug
# This part says that the opentelemetry collector will send data to OTIS pipeline for AppDynamicas CSaaS.
otlphttp:
tls:
insecure: true
endpoint: "https://<region>-sls-agent-api.saas.appdynamics.com"
headers: {"x-api-key": "<api-key?>"}
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch, resource]
exporters: [logging, otlphttp]
telemetry:
logs:
level: "debug"

0 comments on commit f547ca8

Please sign in to comment.