2

I tried instrumenting the open telemetry by deploying the following script.

apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
  name: my-instrumentation
spec:
  exporter:
    endpoint: http://simplest-collector-headless:14250
  propagators:
    - tracecontext
    - baggage
    - b3
  sampler:
    type: parentbased_traceidratio
    argument: "0.25"

I got the following error thrown during the deployment.

 no matches for kind "Instrumentation" in version "opentelemetry.io/v1alpha1", unable to recognize "": no matches for kind "OpenTelemetryCollector" in version "opentelemetry.io/v1alpha1"]

The official open telemetry doc says opentelemetry.io/v1alpha1 has the kind OpenTelemetryCollector. I am stuck debugging this issue.

Any hints on the same will be much appreciated.

Jonas
  • 121,568
  • 97
  • 310
  • 388
codeX
  • 4,842
  • 2
  • 31
  • 36

0 Answers0