Injecting Auto-instrumentation
An implementation of auto-instrumentation using the OpenTelemetry Operator.
The content of this page may be outdated and some links may be invalid.
A newer version of this page exists in
English. To see the changes to the English page since this page was last updated: visit
GitHub compare 5273b533..f625496b
and search for More information ...
content/en/docs/platforms/kubernetes/operator/_index.md.
El Operador de OpenTelemetry es una implementación de un operador de Kubernetes.
El operador gestiona:
Para instalar el operador en un clúster existente, asegúrate de tener
cert-manager instalado y
ejecuta:
kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/latest/download/opentelemetry-operator.yaml
Cuando el deployment de opentelemetry-operator esté listo, en ready, crea
una instancia del OpenTelemetry Collector (otelcol), con el comando siguiente:
$ kubectl apply -f - <<EOF
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: simplest
spec:
config:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
memory_limiter:
check_interval: 1s
limit_percentage: 75
spike_limit_percentage: 15
batch:
send_batch_size: 10000
timeout: 10s
exporters:
# NOTA: Antes de v0.86.0 utiliza `logging` en lugar de `debug`.
debug: {}
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug]
EOF
Por defecto, el opentelemetry-operator usa la
imagen opentelemetry-collector.
Cuando el operator se instala usando
Helm charts, se usa la imagen
opentelemetry-collector-k8s.
Si necesitas un componente que no se encuentra en estas versiones, es posible
que debas construir tu propio collector.
Para más opciones de configuración y para configurar la inyección de auto-instrumentación de las cargas de trabajo usando librerías de instrumentación de OpenTelemetry, consulta el Operador de OpenTelemetry para Kubernetes.
An implementation of auto-instrumentation using the OpenTelemetry Operator.
Configure Horizontal Pod Autoscaling with your OpenTelemetry Collector
A tool to distribute targets of the PrometheusReceiver on all deployed Collector instances
Contains a collection of tips for troubleshooting various aspects of the OpenTelemetry Kubernetes Operator. For example, what to do when the target allocator is failing to discover scrape targets.
¿Fue útil esta página?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!