OS Manuals

/usr/bin/otelcol-k8s

OpenTelemetry Collector for Kubernetes - a curated distribution optimized for Kubernetes observability

From opentelemetry-collector-k8s 0.164.0-r3 (enterprise-packages), captured 2026-11-08 by running otelcol-k8s --help (exit 0). permalink

Usage:
  otelcol-k8s [flags]
  otelcol-k8s [command]

Available Commands:
  completion   Generate the autocompletion script for the specified shell
  components   Outputs available components in this collector distribution
  featuregate  Display feature gates information
  help         Help about any command
  print-config Prints the Collector's configuration in the specified mode
  validate     Validates the config without running the collector

Flags:
      --config --config=file:/path/to/first --config=file:path/to/second   Locations to the config file(s), note that only a single location can be set per flag entry e.g. --config=file:/path/to/first --config=file:path/to/second. (default [])
      --feature-gates flag                                                 Comma-delimited list of feature gate identifiers. Prefix with '-' to disable the feature. '+' or no prefix will enable the feature. (default -confmap.enableMergeAppendOption,connector.routing.defaultErrorModeIgnore,-connector.servicegraph.legacyLatencyMetricNames,-connector.servicegraph.legacyLatencyUnitMs,-connector.spanmetrics.excludeResourceMetrics,connector.spanmetrics.includeCollectorInstanceID,-connector.spanmetrics.legacyMetricNames,-connector.spanmetrics.useSecondAsDefaultMetricsUnit,-exporter.file.nativeCompression,-extension.healthcheck.useComponentStatus,-extension.opampextension.RemoteRestarts,filelog.allowFileDeletion,filelog.allowHeaderMetadataParsing,filelog.mtimeSortType,filelog.protobufCheckpointEncoding,-filelog.requireExplicitTopN,filelog.windows.caseInsensitive,-filter.filterlog.useOTTLBridge,-filter.filtermetric.useOTTLBridge,-filter.filterspan.useOTTLBridge,hostmetrics.process.bootTimeCache,logs.assignKeys,logs.jsonParserArray,-metricsgeneration.MatchAttributes,-ottl.functions.enableLambda,-parser.uri.ecscompliant,-pdata.useProtoPooling,pkg.confighttp.PrioritizeNewKeepalive,-pkg.experimentalmetricmetadata.useEntityEventsSpecification,-pkg.exporterhelper.queueBatchEnabled,pkg.ottl.functions.enableDynamicSliceArguments,-pkg.ottl.functions.enableExperimental,pkg.stanza.addDefaultScopeName,-pkg.translator.jaeger.DontEmitV0HttpConventions,-pkg.translator.jaeger.EmitV1HttpConventions,pkg.translator.prometheus.PermissiveLabelSanitization,-pkg.translator.zipkin.DontEmitV0CloudResourceConventions,pkg.translator.zipkin.DontEmitV0HttpConventions,pkg.translator.zipkin.DontEmitV0NetworkConventions,pkg.translator.zipkin.DontEmitV0ScopeConventions,-pkg.translator.zipkin.EmitV1CloudResourceConventions,pkg.translator.zipkin.EmitV1HttpConventions,pkg.translator.zipkin.EmitV1NetworkConventions,pkg.translator.zipkin.EmitV1ScopeConventions,processor.k8sattributes.DontEmitV0K8sConventions,processor.k8sattributes.EmitV1K8sConventions,-processor.k8sattributes.EnableKubeletPodSource,-processor.k8sattributes.ShareProcessorBetweenPipelines,processor.k8sattributes.telemetry.disableOldFormatMetrics,processor.k8sattributes.telemetry.enableNewFormatMetrics,-processor.resourcedetection.consul.prefixMetaAttributes,-processor.resourcedetection.elasticbeanstalk.DontEmitV0DeploymentConventions,-processor.resourcedetection.elasticbeanstalk.EmitV1DeploymentConventions,-processor.tailsamplingprocessor.metricstatcountbytessampled,-processor.tailsamplingprocessor.metricstatcountspanssampled,-processor.tailsamplingprocessor.recordpolicy,-processor.tailsamplingprocessor.tailstorageextension,-processor.tailsamplingprocessor.usetracestate,-receiver.hostmetrics.DontEmitV0SystemConventions,-receiver.hostmetrics.EmitV1SystemConventions,receiver.hostmetricsreceiver.UseLinuxMemAvailable,-receiver.k8sobjects.useInformerObserver,receiver.kubeletstats.cpuUsageScrapeBased,-receiver.prometheusreceiver.EnableCreatedTimestampZeroIngestion,-receiverhelper.newReceiverMetrics,-scraper.process.DontEmitV0SystemConventions,-scraper.process.EmitV1SystemConventions,-service.AllowNoPipelines,-service.partialReload,service.partialReloadReceivers,-service.profilesSupport,-spanmetrics.statusCodeConvention.useOtelPrefix,-stanza.synchronousLogEmitter,-stanza.udp.useStableNetworkAttributes,-stanza.windows.eventDrivenScraping,-telemetry.newPipelineTelemetry,-transform.flatten.logs)
  -h, --help                                                               help for otelcol-k8s
      --set value                                                          Set arbitrary component config property. The component has to be defined in the config file and the flag has a higher precedence. Array config properties are overridden and maps are joined. Example --set=processors.batch.timeout=2s
  -v, --version                                                            version for otelcol-k8s

Use "otelcol-k8s [command] --help" for more information about a command.
Options (5)
OptionDescriptionSource
--config --config=file:/path/to/firstLocations to the config file(s), note that only a single location can be set per flag entry e.g. --config=file:/path/to/first --config=file:path/to/second.help
--feature-gates flagComma-delimited list of feature gate identifiers.help
-h, --helphelp for otelcol-k8shelp
--set valueSet arbitrary component config property.help
-v, --versionversion for otelcol-k8shelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.