Uses of Package
codes.grow.packages.otelcollector
Packages that use codes.grow.packages.otelcollector
-
Classes in codes.grow.packages.otelcollector used by codes.grow.packages.otelcollectorClassDescriptionHealth of an OpenTelemetry Collector:
GET {healthUrl}(health_checkextension, port 13133) and, when that endpoint is unreachable (stock Grow stacks bind it to localhost),GET {zpagesUrl}/debug/servicez(port 55679).Options of the metric instrument helpers (counter,upDownCounter,histogram,gauge).Client for an OpenTelemetry Collector: health (health_checkwith zpages fallback), an authenticated OTLPping, the collector version, and factories for the telemetry bootstrap, tracing, log clients and exporters whose lifetime the client owns (OtelCollectorClient.close()flushes and shuts them down).Builder that configures and creates a client in one chain.Immutable configuration of aOtelCollectorClientand of every OTLP exporter this package builds (traces, logs, metrics).Builder of the configuration.A decoded OTLP partial success.A decodedgoogle.rpc.Status.LogExporter(SPEC section 4) that sends records to the collector over OTLP with the official OpenTelemetry log exporter:POST {logsUrl}(application/x-protobuf) or gRPCLogsService/Export.Best-effort client-side resource detection:host(host.name,host.arch,os.type,os.version),process(process.pid,process.executable.path,process.runtime.*,process.owner),container(container.idfrom cgroups) andk8s(k8s.pod.name,k8s.namespace.name, … from the downward-API variablesK8S_*/POD_*,HOSTNAMEand the service-account namespace file).JVM runtime metrics (semantic-convention names) observed on every collection:jvm.memory.usedandjvm.memory.committed(By,jvm.memory.typeheap / non_heap),jvm.thread.count,jvm.class.count,jvm.cpu.time(s),jvm.cpu.recent_utilizationandprocess.uptime(s).The three OpenTelemetry signals the collector receives.A running telemetry setup (all three signals) created byOtelCollectorTelemetry.initTelemetry().Options ofOtelCollectorTelemetry.initTelemetry(OtelCollectorConfig, TelemetryOptions): per-signal switches over the config, global registration, metric settings and exporter replacements (tests).Builder ofTelemetryOptions.