Telemetry - TracePipeline

The tracepipeline.telemetry.kyma-project.io CustomResourceDefinition (CRD) is a detailed description of the kind of data and the format used to filter and ship trace data in Kyma. To get the up-to-date CRD and show the output in the YAML format, run this command:

Click to copy
kubectl get crd tracepipeline.telemetry.kyma-project.io -o yaml

Sample custom resource

The following TracePipeline object defines a pipeline integrating into the local Jaeger instance.

Click to copy
apiVersion: telemetry.kyma-project.io/v1alpha1
kind: TracePipeline
metadata:
name: jaeger
spec:
output:
otlp:
endpoint:
value: http://jaeger-collector.jaeger.svc.cluster.local:4317
status:
conditions:
- lastTransitionTime: "2022-12-13T14:33:27Z"
reason: OpenTelemetryDeploymentNotReady
type: Pending
- lastTransitionTime: "2022-12-13T14:33:28Z"
reason: OpenTelemetryDeploymentReady
type: Running

For further TracePipeline examples, see the samples directory.

Custom resource parameters

For details, see the TracePipeline specification file.

ParameterDescription
spec.outputDefines a destination for shipping trace data. Only one can be defined per pipeline.
spec.output.otlpConfigures the underlying Otel Collector with an OTLP exporter. If you switch protocolto http, an OTLP HTTP exporter is used.
spec.output.otlp.authenticationDefines authentication options for the OTLP output
spec.output.otlp.authentication.basicActivates Basic authentication for the destination providing relevant Secrets.
spec.output.otlp.authentication.basic.passwordContains the basic auth password or a Secret reference.
spec.output.otlp.authentication.basic.password.valueValue that can contain references to Secret values.
spec.output.otlp.authentication.basic.password.valueFrom
spec.output.otlp.authentication.basic.password.valueFrom.secretKeyRefRefers to a key in a Secret. You must provide name and namespace of the Secret, as well as the name of the key.
spec.output.otlp.authentication.basic.password.valueFrom.secretKeyRef.key
spec.output.otlp.authentication.basic.password.valueFrom.secretKeyRef.name
spec.output.otlp.authentication.basic.password.valueFrom.secretKeyRef.namespace
spec.output.otlp.authentication.basic.userContains the basic auth username or a Secret reference.
spec.output.otlp.authentication.basic.user.valueValue that can contain references to Secret values.
spec.output.otlp.authentication.basic.user.valueFrom
spec.output.otlp.authentication.basic.user.valueFrom.secretKeyRefRefers to a key in a Secret. You must provide name and namespace of the Secret, as well as the name of the key.
spec.output.otlp.authentication.basic.user.valueFrom.secretKeyRef.key
spec.output.otlp.authentication.basic.user.valueFrom.secretKeyRef.name
spec.output.otlp.authentication.basic.user.valueFrom.secretKeyRef.namespace
spec.output.otlp.endpointDefines the host and port (:) of an OTLP endpoint.
spec.output.otlp.endpoint.valueValue that can contain references to Secret values.
spec.output.otlp.endpoint.valueFrom
spec.output.otlp.endpoint.valueFrom.secretKeyRefRefers to a key in a Secret. You must provide name and namespace of the Secret, as well as the name of the key.
spec.output.otlp.endpoint.valueFrom.secretKeyRef.key
spec.output.otlp.endpoint.valueFrom.secretKeyRef.name
spec.output.otlp.endpoint.valueFrom.secretKeyRef.namespace
spec.output.otlp.headersDefines custom headers to be added to outgoing HTTP or GRPC requests.
spec.output.otlp.headers.nameDefines the header name.
spec.output.otlp.headers.valueValue that can contain references to Secret values.
spec.output.otlp.headers.valueFrom
spec.output.otlp.headers.valueFrom.secretKeyRefRefers to a key in a Secret. You must provide name and namespace of the Secret, as well as the name of the key.
spec.output.otlp.headers.valueFrom.secretKeyRef.key
spec.output.otlp.headers.valueFrom.secretKeyRef.name
spec.output.otlp.headers.valueFrom.secretKeyRef.namespace
spec.output.otlp.protocolDefines the OTLP protocol (http or grpc). Default is GRPC.
status.conditionsAn array of conditions describing the status of the pipeline.
status.conditions.lastTransitionTimeAn array of conditions describing the status of the pipeline.
status.conditions.reasonAn array of conditions describing the status of the pipeline.
status.conditions.typeThe possible transition types are:- Running: The instance is ready and usable.- Pending: The pipeline is being activated.