OpenTelemetry PHP

Markers

Table of Contents

src/API/Behavior/Internal/Logging.php 1
src/API/Behavior/Internal/LogWriter/Formatter.php 1
src/API/Instrumentation/AutoInstrumentation/ExtensionHookManager.php 1
src/Config/SDK/ComponentProvider/Metrics/MetricExporterConsole.php 1
src/Config/SDK/ComponentProvider/Metrics/MetricExporterOtlpFile.php 1
src/Config/SDK/ComponentProvider/Metrics/MetricExporterOtlpGrpc.php 1
src/Config/SDK/ComponentProvider/Metrics/MetricExporterOtlpHttp.php 1
src/Config/SDK/ComponentProvider/Metrics/MetricReaderPeriodic.php 2
src/Config/SDK/ComponentProvider/OpenTelemetrySdk.php 5
src/Config/SDK/Configuration.php 1
src/Config/SDK/Instrumentation.php 1
src/Contrib/Otlp/ContentTypes.php 1
src/SDK/Common/Configuration/Resolver/SdkConfigurationResolver.php 1
src/SDK/Logs/LogRecordProcessorInterface.php 1
src/SDK/Metrics/Data/Temporality.php 1
src/SDK/Metrics/MeterProviderFactory.php 2
src/SDK/Metrics/View/CriteriaViewRegistry.php 1
src/SDK/RegistrarInterface.php 1
src/SDK/Registry.php 1
src/SDK/Resource/ResourceInfo.php 1

Logging.php

Type Line Description
TODO 16 this should be `@internal`, but deptrac is not happy with that.

Formatter.php

Type Line Description
TODO 10 print $context

ExtensionHookManager.php

Type Line Description
TODO 38 Add an option flag to ext-opentelemetry `hook` that configures whether return values should be used?

MetricExporterConsole.php

Type Line Description
TODO 46 honour default_histogram_aggregation

MetricExporterOtlpFile.php

Type Line Description
TODO 59 honour default_histogram_aggregation

MetricExporterOtlpGrpc.php

Type Line Description
TODO 81 honour default_histogram_aggregation

MetricExporterOtlpHttp.php

Type Line Description
TODO 78 honour default_histogram_aggregation

MetricReaderPeriodic.php

Type Line Description
TODO 65 not implemented in metrics SDK
TODO 69 not implemented in metrics SDK

OpenTelemetrySdk.php

Type Line Description
TODO 258 remove the deprecated top-level response_propagator/development before 1.0
TODO 374 apply stream.aggregation_cardinality_limit; no cardinality limit support in SDK/Metrics
TODO 398 apply meter_provider.exemplar_filter, see SDK/Metrics/Exemplar/ExemplarFilter
TODO 483 apply logger_provider.limits; needs LoggerProvider to accept a LogRecordLimits,
TODO 852 apply severity and trace based log record filtering

Configuration.php

Type Line Description
TODO 166 remove the deprecated SPI key before 1.0

Instrumentation.php

Type Line Description
TODO 23 Remove before 1.0 of `open-telemetry/sdk-configuration`. It stays for now so instrumentations still on this entry point can move. The package is 0.x, so this is a courtesy rather than a compatibility guarantee.

ContentTypes.php

Type Line Description
TODO 10 enum (php >= 8.1)

SdkConfigurationResolver.php

Type Line Description
TODO 21 raise to ^1.0 once sdk-configuration 1.0 is tagged; LazyEnvSource and EnvSourceProvider need >=0.2

LogRecordProcessorInterface.php

Type Line Description
TODO 13 implement (optional) isEnabled: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.45.0/specification/logs/sdk.md#enabled-1

Temporality.php

Type Line Description
TODO 13 convert to enum (php >= 8.1)

MeterProviderFactory.php

Type Line Description
TODO 32 https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md#general - "The exporter MUST configure the default aggregation on the basis of instrument kind using the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION variable as described below if it is implemented."
TODO 38 "The SDK MAY accept a comma-separated list to enable setting multiple exporters"

CriteriaViewRegistry.php

Type Line Description
TODO 28 is null the best return type here? what about empty array or exception?

RegistrarInterface.php

Type Line Description
TODO 24 [breaking] remove in SDK 2.0, together with the Registry.

Registry.php

Type Line Description
TODO 30 [breaking] deprecate the explicit register*() methods, in favor of using SPI.

ResourceInfo.php

Type Line Description
TODO 64 can we optimize this to avoid re-validating the attributes on merge?

Search results