OpenTelemetry PHP

Deprecated

Table of Contents

proto/otel/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php
proto/otel/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php
proto/otel/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php
proto/otel/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php
proto/otel/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php
proto/otel/Opentelemetry/Proto/Trace/V1/Span_Event.php
proto/otel/Opentelemetry/Proto/Trace/V1/Span_Link.php
proto/otel/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php
proto/otel/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php
proto/otel/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php
src/API/Instrumentation/CachedInstrumentation.php
src/API/Instrumentation/Configurator.php
src/API/Logs/EventLoggerInterface.php
src/API/Logs/EventLoggerProviderInterface.php
src/API/Logs/Map/Psr3.php
src/API/Trace/TraceState.php
src/SDK/Common/Export/Http/PsrTransportFactory.php
src/SDK/Common/Time/ClockFactory.php
src/SDK/Common/Time/ClockInterface.php
src/SDK/Logs/EventLogger.php
src/SDK/Logs/EventLoggerProviderFactory.php
src/SDK/Resource/Detectors/OperatingSystem.php
src/SDK/Resource/Detectors/ProcessRuntime.php
src/SDK/Resource/Detectors/SdkProvided.php
src/SDK/Sdk.php
src/SDK/SdkBuilder.php
src/SemConv/TraceAttributes.php
src/SemConv/TraceAttributeValues.php

MetricConfigResponse_Schedule.php

Line Element Reason
12 MetricConfigResponse_Schedule

MetricConfigResponse_Schedule_Pattern.php

Line Element Reason
12 MetricConfigResponse_Schedule_Pattern

ExponentialHistogramDataPoint_Buckets.php

Line Element Reason
12 ExponentialHistogramDataPoint_Buckets

SummaryDataPoint_ValueAtQuantile.php

Line Element Reason
12 SummaryDataPoint_ValueAtQuantile

ConstantSampler_ConstantDecision.php

Line Element Reason
12 ConstantSampler_ConstantDecision

Span_Event.php

Line Element Reason
12 Span_Event

Span_Link.php

Line Element Reason
12 Span_Link

Span_SpanKind.php

Line Element Reason
12 Span_SpanKind

Status_DeprecatedStatusCode.php

Line Element Reason
12 Status_DeprecatedStatusCode

Status_StatusCode.php

Line Element Reason
12 Status_StatusCode

CachedInstrumentation.php

Line Element Reason
76 CachedInstrumentation::eventLogger()

Configurator.php

Line Element Reason
128 Configurator::withEventLoggerProvider()

EventLoggerInterface.php

Line Element Reason
13 EventLoggerInterface

EventLoggerProviderInterface.php

Line Element Reason
11 EventLoggerProviderInterface

Psr3.php

Line Element Reason
16 Psr3::severityNumber()

Use Severity::fromPsr3

TraceState.php

Line Element Reason
23 TraceState::MAX_COMBINED_LENGTH

will be removed

PsrTransportFactory.php

Line Element Reason
69 PsrTransportFactory::discover()

ClockFactory.php

Line Element Reason
14 ClockFactory

Use OpenTelemetry\API\Common\Time\Clock

ClockInterface.php

Line Element Reason
12 ClockInterface

Use OpenTelemetry\API\Common\Time\ClockInterface

EventLogger.php

Line Element Reason
19 EventLogger

EventLoggerProviderFactory.php

Line Element Reason
12 EventLoggerProviderFactory

OperatingSystem.php

Line Element Reason
13 OperatingSystem

Use Host detector instead.

ProcessRuntime.php

Line Element Reason
13 ProcessRuntime

Use Process detector instead.

SdkProvided.php

Line Element Reason
13 SdkProvided

Use Service detector instead.

Sdk.php

Line Element Reason
66 Sdk::getEventLoggerProvider()

SdkBuilder.php

Line Element Reason
65 SdkBuilder::setEventLoggerProvider()

TraceAttributes.php

Line Element Reason
662 TraceAttributes::CODE_COLUMN

{"note": "Replaced by code.column.number", "reason": "uncategorized"}

679 TraceAttributes::CODE_FILEPATH

{"note": "Replaced by code.file.path", "reason": "uncategorized"}

686 TraceAttributes::CODE_FUNCTION

{"note": "Replaced by code.function.name", "reason": "uncategorized"}

719 TraceAttributes::CODE_LINENO

{"note": "Replaced by code.line.number", "reason": "uncategorized"}

726 TraceAttributes::CODE_NAMESPACE

{"note": "Value should be included in code.function.name which is expected to be a fully-qualified name.", "reason": "uncategorized"}

755 TraceAttributes::CONTAINER_CPU_STATE

{"note": "Replaced by cpu.mode", "reason": "uncategorized"}

814 TraceAttributes::CONTAINER_LABELS

{"note": "Replaced by container.label.", "reason": "uncategorized"}

841 TraceAttributes::DB_CASSANDRA_CONSISTENCY_LEVEL

{"note": "Replaced by cassandra.consistency.level.", "reason": "uncategorized"}

848 TraceAttributes::DB_CASSANDRA_COORDINATOR_DC

{"note": "Replaced by cassandra.coordinator.dc.", "reason": "uncategorized"}

855 TraceAttributes::DB_CASSANDRA_COORDINATOR_ID

{"note": "Replaced by cassandra.coordinator.id.", "reason": "uncategorized"}

862 TraceAttributes::DB_CASSANDRA_IDEMPOTENCE

{"note": "Replaced by cassandra.query.idempotent.", "reason": "uncategorized"}

869 TraceAttributes::DB_CASSANDRA_PAGE_SIZE

{"note": "Replaced by cassandra.page.size.", "reason": "uncategorized"}

876 TraceAttributes::DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT

{"note": "Replaced by cassandra.speculative_execution.count.", "reason": "uncategorized"}

883 TraceAttributes::DB_CASSANDRA_TABLE

{"note": "Replaced by db.collection.name.", "reason": "uncategorized"}

900 TraceAttributes::DB_CLIENT_CONNECTIONS_POOL_NAME

{"note": "Replaced by db.client.connection.pool.name.", "reason": "uncategorized"}

907 TraceAttributes::DB_CLIENT_CONNECTIONS_STATE

{"note": "Replaced by db.client.connection.state.", "reason": "uncategorized"}

928 TraceAttributes::DB_CONNECTION_STRING

{"note": "Replaced by server.address and server.port.", "reason": "uncategorized"}

935 TraceAttributes::DB_COSMOSDB_CLIENT_ID

{"note": "Replaced by azure.client.id.", "reason": "uncategorized"}

942 TraceAttributes::DB_COSMOSDB_CONNECTION_MODE

{"note": "Replaced by azure.cosmosdb.connection.mode.", "reason": "uncategorized"}

949 TraceAttributes::DB_COSMOSDB_CONSISTENCY_LEVEL

{"note": "Replaced by azure.cosmosdb.consistency.level.", "reason": "uncategorized"}

956 TraceAttributes::DB_COSMOSDB_CONTAINER

{"note": "Replaced by db.collection.name.", "reason": "uncategorized"}

963 TraceAttributes::DB_COSMOSDB_OPERATION_TYPE

{"note": "No replacement at this time.", "reason": "uncategorized"}

970 TraceAttributes::DB_COSMOSDB_REGIONS_CONTACTED

{"note": "Replaced by azure.cosmosdb.operation.contacted_regions.", "reason": "uncategorized"}

977 TraceAttributes::DB_COSMOSDB_REQUEST_CHARGE

{"note": "Replaced by azure.cosmosdb.operation.request_charge.", "reason": "uncategorized"}

984 TraceAttributes::DB_COSMOSDB_REQUEST_CONTENT_LENGTH

{"note": "Replaced by azure.cosmosdb.request.body.size.", "reason": "uncategorized"}

991 TraceAttributes::DB_COSMOSDB_STATUS_CODE

{"note": "Replaced by db.response.status_code.", "reason": "uncategorized"}

998 TraceAttributes::DB_COSMOSDB_SUB_STATUS_CODE

{"note": "Replaced by azure.cosmosdb.response.sub_status_code.", "reason": "uncategorized"}

1005 TraceAttributes::DB_ELASTICSEARCH_CLUSTER_NAME

{"note": "Replaced by db.namespace.", "reason": "uncategorized"}

1012 TraceAttributes::DB_ELASTICSEARCH_NODE_NAME

{"note": "Replaced by elasticsearch.node.name.", "reason": "uncategorized"}

1019 TraceAttributes::DB_ELASTICSEARCH_PATH_PARTS

{"note": "Replaced by db.operation.parameter.", "reason": "uncategorized"}

1026 TraceAttributes::DB_INSTANCE_ID

{"note": "Deprecated, no general replacement at this time. For Elasticsearch, use db.elasticsearch.node.name instead.", "reason": "uncategorized"}

1033 TraceAttributes::DB_JDBC_DRIVER_CLASSNAME

{"note": "Removed as not used.", "reason": "uncategorized"}

1040 TraceAttributes::DB_MONGODB_COLLECTION

{"note": "Replaced by db.collection.name.", "reason": "uncategorized"}

1047 TraceAttributes::DB_MSSQL_INSTANCE_NAME

{"note": "Deprecated, no replacement at this time.", "reason": "uncategorized"}

1054 TraceAttributes::DB_NAME

{"note": "Replaced by db.namespace.", "reason": "uncategorized"}

1070 TraceAttributes::DB_OPERATION

{"note": "Replaced by db.operation.name.", "reason": "uncategorized"}

1158 TraceAttributes::DB_REDIS_DATABASE_INDEX

{"note": "Replaced by db.namespace.", "reason": "uncategorized"}

1177 TraceAttributes::DB_SQL_TABLE

{"note": "Replaced by db.collection.name, but only if not extracting the value from db.query.text.", "reason": "uncategorized"}

1184 TraceAttributes::DB_STATEMENT

{"note": "Replaced by db.query.text.", "reason": "uncategorized"}

1201 TraceAttributes::DB_SYSTEM

{"note": "Replaced by db.system.name.", "reason": "uncategorized"}

1214 TraceAttributes::DB_USER

{"note": "No replacement at this time.", "reason": "uncategorized"}

1221 TraceAttributes::DEPLOYMENT_ENVIRONMENT

{"note": "Deprecated, use deployment.environment.name instead.", "reason": "uncategorized"}

1339 TraceAttributes::ENDUSER_ROLE

{"note": "Replaced by user.roles attribute.", "reason": "uncategorized"}

1346 TraceAttributes::ENDUSER_SCOPE

{"note": "Removed.", "reason": "uncategorized"}

1388 TraceAttributes::EVENT_NAME

{"note": "Replaced by EventName top-level field on the LogRecord", "reason": "uncategorized"}

1395 TraceAttributes::EXCEPTION_ESCAPED

{"note": "It's no longer recommended to record exceptions that are handled and do not escape the scope of a span.", "reason": "uncategorized"}

1538 TraceAttributes::FEATURE_FLAG_EVALUATION_ERROR_MESSAGE

{"note": "Replaced by error.message.", "reason": "uncategorized"}

1545 TraceAttributes::FEATURE_FLAG_EVALUATION_REASON

{"note": "Replaced by feature_flag.result.reason.", "reason": "uncategorized"}

1582 TraceAttributes::FEATURE_FLAG_VARIANT

{"note": "Replaced by feature_flag.result.variant.", "reason": "uncategorized"}

1793 TraceAttributes::GEN_AI_COMPLETION

{"note": "Removed, no replacement at this time.", "reason": "uncategorized"}

1800 TraceAttributes::GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT

{"note": "Replaced by gen_ai.output.type.", "reason": "uncategorized"}

1807 TraceAttributes::GEN_AI_OPENAI_REQUEST_SEED

{"note": "Replaced by gen_ai.request.seed attribute.", "reason": "uncategorized"}

1843 TraceAttributes::GEN_AI_PROMPT

{"note": "Removed, no replacement at this time.", "reason": "uncategorized"}

1967 TraceAttributes::GEN_AI_USAGE_COMPLETION_TOKENS

{"note": "Replaced by gen_ai.usage.output_tokens attribute.", "reason": "uncategorized"}

1984 TraceAttributes::GEN_AI_USAGE_PROMPT_TOKENS

{"note": "Replaced by gen_ai.usage.input_tokens attribute.", "reason": "uncategorized"}

2143 TraceAttributes::HTTP_CLIENT_IP

{"note": "Replaced by client.address.", "reason": "uncategorized"}

2155 TraceAttributes::HTTP_FLAVOR

{"note": "Replaced by network.protocol.name.", "reason": "uncategorized"}

2162 TraceAttributes::HTTP_HOST

{"note": "Replaced by one of server.address, client.address or http.request.header.host, depending on the usage.", "reason": "uncategorized"}

2169 TraceAttributes::HTTP_METHOD

{"note": "Replaced by http.request.method.", "reason": "uncategorized"}

2239 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH

{"note": "Replaced by http.request.header.<key>.", "reason": "uncategorized"}

2246 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED

{"note": "Replaced by http.request.body.size.", "reason": "uncategorized"}

2289 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH

{"note": "Replaced by http.response.header.<key>.", "reason": "uncategorized"}

2296 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED

{"note": "Replace by http.response.body.size.", "reason": "uncategorized"}

2311 TraceAttributes::HTTP_SCHEME

{"note": "Replaced by url.scheme instead.", "reason": "uncategorized"}

2318 TraceAttributes::HTTP_SERVER_NAME

{"note": "Replaced by server.address.", "reason": "uncategorized"}

2325 TraceAttributes::HTTP_STATUS_CODE

{"note": "Replaced by http.response.status_code.", "reason": "uncategorized"}

2332 TraceAttributes::HTTP_TARGET

{"note": "Split to url.path and `url.query.", "reason": "uncategorized"}

2339 TraceAttributes::HTTP_URL

{"note": "Replaced by url.full.", "reason": "uncategorized"}

2346 TraceAttributes::HTTP_USER_AGENT

{"note": "Replaced by user_agent.original.", "reason": "uncategorized"}

2651 TraceAttributes::K8S_POD_LABELS

{"note": "Replaced by k8s.pod.label.", "reason": "uncategorized"}

2791 TraceAttributes::MESSAGE_COMPRESSED_SIZE

{"note": "Replaced by rpc.message.compressed_size.", "reason": "uncategorized"}

2798 TraceAttributes::MESSAGE_ID

{"note": "Replaced by rpc.message.id.", "reason": "uncategorized"}

2805 TraceAttributes::MESSAGE_TYPE

{"note": "Replaced by rpc.message.type.", "reason": "uncategorized"}

2812 TraceAttributes::MESSAGE_UNCOMPRESSED_SIZE

{"note": "Replaced by rpc.message.uncompressed_size.", "reason": "uncategorized"}

2871 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_ANONYMOUS

{"note": "No replacement at this time.", "reason": "uncategorized"}

2878 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_NAME

{"note": "No replacement at this time.", "reason": "uncategorized"}

2885 TraceAttributes::MESSAGING_EVENTHUBS_CONSUMER_GROUP

{"note": "Replaced by messaging.consumer.group.name.", "reason": "uncategorized"}

2917 TraceAttributes::MESSAGING_KAFKA_CONSUMER_GROUP

{"note": "Replaced by messaging.consumer.group.name.", "reason": "uncategorized"}

2924 TraceAttributes::MESSAGING_KAFKA_DESTINATION_PARTITION

{"note": "Replaced by messaging.destination.partition.id.", "reason": "uncategorized"}

2938 TraceAttributes::MESSAGING_KAFKA_MESSAGE_OFFSET

{"note": "Replaced by messaging.kafka.offset.", "reason": "uncategorized"}

2981 TraceAttributes::MESSAGING_OPERATION

{"note": "Replaced by messaging.operation.type.", "reason": "uncategorized"}

3010 TraceAttributes::MESSAGING_ROCKETMQ_CLIENT_GROUP

{"note": "Replaced by messaging.consumer.group.name on the consumer spans. No replacement for producer spans.", "reason": "uncategorized"}

3057 TraceAttributes::MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME

{"note": "Replaced by messaging.destination.subscription.name.", "reason": "uncategorized"}

3085 TraceAttributes::NET_HOST_IP

{"note": "Replaced by network.local.address.", "reason": "uncategorized"}

3092 TraceAttributes::NET_HOST_NAME

{"note": "Replaced by server.address.", "reason": "uncategorized"}

3099 TraceAttributes::NET_HOST_PORT

{"note": "Replaced by server.port.", "reason": "uncategorized"}

3106 TraceAttributes::NET_PEER_IP

{"note": "Replaced by network.peer.address.", "reason": "uncategorized"}

3113 TraceAttributes::NET_PEER_NAME

{"note": "Replaced by server.address on client spans and client.address on server spans.", "reason": "uncategorized"}

3120 TraceAttributes::NET_PEER_PORT

{"note": "Replaced by server.port on client spans and client.port on server spans.", "reason": "uncategorized"}

3127 TraceAttributes::NET_PROTOCOL_NAME

{"note": "Replaced by network.protocol.name.", "reason": "uncategorized"}

3134 TraceAttributes::NET_PROTOCOL_VERSION

{"note": "Replaced by network.protocol.version.", "reason": "uncategorized"}

3141 TraceAttributes::NET_SOCK_FAMILY

{"note": "Split to network.transport and network.type.", "reason": "uncategorized"}

3148 TraceAttributes::NET_SOCK_HOST_ADDR

{"note": "Replaced by network.local.address.", "reason": "uncategorized"}

3155 TraceAttributes::NET_SOCK_HOST_PORT

{"note": "Replaced by network.local.port.", "reason": "uncategorized"}

3162 TraceAttributes::NET_SOCK_PEER_ADDR

{"note": "Replaced by network.peer.address.", "reason": "uncategorized"}

3169 TraceAttributes::NET_SOCK_PEER_NAME

{"note": "Removed.", "reason": "uncategorized"}

3176 TraceAttributes::NET_SOCK_PEER_PORT

{"note": "Replaced by network.peer.port.", "reason": "uncategorized"}

3183 TraceAttributes::NET_TRANSPORT

{"note": "Replaced by network.transport.", "reason": "uncategorized"}

3351 TraceAttributes::OTEL_LIBRARY_NAME

{"note": "Use the otel.scope.name attribute.", "reason": "uncategorized"}

3358 TraceAttributes::OTEL_LIBRARY_VERSION

{"note": "Use the otel.scope.version attribute.", "reason": "uncategorized"}

3390 TraceAttributes::STATE

{"note": "Replaced by db.client.connection.state.", "reason": "uncategorized"}

3402 TraceAttributes::POOL_NAME

{"note": "Replaced by db.client.connection.pool.name.", "reason": "uncategorized"}

3436 TraceAttributes::PROCESS_CPU_STATE

{"note": "Replaced by cpu.mode", "reason": "uncategorized"}

3476 TraceAttributes::PROCESS_EXECUTABLE_BUILD_ID_PROFILING

{"note": "Replaced by process.executable.build_id.htlhash", "reason": "uncategorized"}

3861 TraceAttributes::SYSTEM_CPU_STATE

{"note": "Replaced by cpu.mode", "reason": "uncategorized"}

3898 TraceAttributes::SYSTEM_NETWORK_STATE

{"note": "Removed, report network connection state with network.connection.state attribute", "reason": "uncategorized"}

3925 TraceAttributes::SYSTEM_PROCESSES_STATUS

{"note": "Replaced by system.process.status.", "reason": "uncategorized"}

4049 TraceAttributes::TLS_CLIENT_SERVER_NAME

{"note": "Replaced by server.address.", "reason": "uncategorized"}

4451 TraceAttributes::VCS_REPOSITORY_CHANGE_ID

{"note": "Deprecated, use vcs.change.id instead.", "reason": "uncategorized"}

4458 TraceAttributes::VCS_REPOSITORY_CHANGE_TITLE

{"note": "Deprecated, use vcs.change.title instead.", "reason": "uncategorized"}

4474 TraceAttributes::VCS_REPOSITORY_REF_NAME

{"note": "Deprecated, use vcs.ref.head.name instead.", "reason": "uncategorized"}

4481 TraceAttributes::VCS_REPOSITORY_REF_REVISION

{"note": "Deprecated, use vcs.ref.head.revision instead.", "reason": "uncategorized"}

4488 TraceAttributes::VCS_REPOSITORY_REF_TYPE

{"note": "Deprecated, use vcs.ref.head.type instead.", "reason": "uncategorized"}

TraceAttributeValues.php

Line Element Reason
952 TraceAttributeValues::DB_SYSTEM_CACHE

Replaced by intersystems_cache.

981 TraceAttributeValues::DB_SYSTEM_CLOUDSCAPE

Replaced by other_sql.

996 TraceAttributeValues::DB_SYSTEM_COLDFUSION

Removed.

1074 TraceAttributeValues::DB_SYSTEM_FIRSTSQL

Replaced by other_sql.

1194 TraceAttributeValues::DB_SYSTEM_MSSQLCOMPACT

Removed, use other_sql instead.

2112 TraceAttributeValues::GEN_AI_SYSTEM_VERTEX_AI

Use 'gcp.vertex_ai' instead.

2120 TraceAttributeValues::GEN_AI_SYSTEM_GEMINI

Use 'gcp.gemini' instead.

2212 TraceAttributeValues::GEN_AI_TOKEN_TYPE_COMPLETION

Replaced by output.

2682 TraceAttributeValues::MESSAGING_OPERATION_TYPE_DELIVER

Replaced by process.

2690 TraceAttributeValues::MESSAGING_OPERATION_TYPE_PUBLISH

Replaced by send.

3958 TraceAttributeValues::SYSTEM_MEMORY_STATE_SHARED

Removed, report shared memory usage with metric.system.memory.shared metric

4449 TraceAttributeValues::VCS_PROVIDER_NAME_GITTEA

Replaced by gitea.

Search results