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/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

Sdk.php

Line Element Reason
66 Sdk::getEventLoggerProvider()

SdkBuilder.php

Line Element Reason
65 SdkBuilder::setEventLoggerProvider()

TraceAttributes.php

Line Element Reason
28 TraceAttributes::ANDROID_STATE

Replaced by device.app.lifecycle.

625 TraceAttributes::CODE_COLUMN

Replaced by code.column.number

647 TraceAttributes::CODE_FUNCTION

Replaced by code.function.name

664 TraceAttributes::CODE_LINENO

Replaced by code.line.number

698 TraceAttributes::CONTAINER_CPU_STATE

Replaced by cpu.mode

755 TraceAttributes::CONTAINER_LABELS

Replaced by container.label.

777 TraceAttributes::DB_CASSANDRA_CONSISTENCY_LEVEL

Replaced by cassandra.consistency.level.

784 TraceAttributes::DB_CASSANDRA_COORDINATOR_DC

Replaced by cassandra.coordinator.dc.

791 TraceAttributes::DB_CASSANDRA_COORDINATOR_ID

Replaced by cassandra.coordinator.id.

798 TraceAttributes::DB_CASSANDRA_IDEMPOTENCE

Replaced by cassandra.query.idempotent.

805 TraceAttributes::DB_CASSANDRA_PAGE_SIZE

Replaced by cassandra.page.size.

812 TraceAttributes::DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT

Replaced by cassandra.speculative_execution.count.

819 TraceAttributes::DB_CASSANDRA_TABLE

Replaced by db.collection.name.

836 TraceAttributes::DB_CLIENT_CONNECTIONS_POOL_NAME

Replaced by db.client.connection.pool.name.

843 TraceAttributes::DB_CLIENT_CONNECTIONS_STATE

Replaced by db.client.connection.state.

862 TraceAttributes::DB_CONNECTION_STRING

Replaced by server.address and server.port.

869 TraceAttributes::DB_COSMOSDB_CLIENT_ID

Replaced by azure.client.id.

876 TraceAttributes::DB_COSMOSDB_CONNECTION_MODE

Replaced by azure.cosmosdb.connection.mode.

883 TraceAttributes::DB_COSMOSDB_CONSISTENCY_LEVEL

Replaced by azure.cosmosdb.consistency.level.

890 TraceAttributes::DB_COSMOSDB_CONTAINER

Replaced by db.collection.name.

897 TraceAttributes::DB_COSMOSDB_OPERATION_TYPE

No replacement at this time.

904 TraceAttributes::DB_COSMOSDB_REGIONS_CONTACTED

Replaced by azure.cosmosdb.operation.contacted_regions.

911 TraceAttributes::DB_COSMOSDB_REQUEST_CHARGE

Replaced by azure.cosmosdb.operation.request_charge.

918 TraceAttributes::DB_COSMOSDB_REQUEST_CONTENT_LENGTH

Replaced by azure.cosmosdb.request.body.size.

925 TraceAttributes::DB_COSMOSDB_STATUS_CODE

Replaced by db.response.status_code.

932 TraceAttributes::DB_COSMOSDB_SUB_STATUS_CODE

Replaced by azure.cosmosdb.response.sub_status_code.

939 TraceAttributes::DB_ELASTICSEARCH_CLUSTER_NAME

Replaced by db.namespace.

946 TraceAttributes::DB_ELASTICSEARCH_NODE_NAME

Replaced by elasticsearch.node.name.

953 TraceAttributes::DB_ELASTICSEARCH_PATH_PARTS

Replaced by db.operation.parameter.

960 TraceAttributes::DB_INSTANCE_ID

Deprecated, no general replacement at this time. For Elasticsearch, use db.elasticsearch.node.name instead.

967 TraceAttributes::DB_JDBC_DRIVER_CLASSNAME

Removed as not used.

974 TraceAttributes::DB_MONGODB_COLLECTION

Replaced by db.collection.name.

981 TraceAttributes::DB_MSSQL_INSTANCE_NAME

Deprecated, no replacement at this time.

988 TraceAttributes::DB_NAME

Replaced by db.namespace.

1004 TraceAttributes::DB_OPERATION

Replaced by db.operation.name.

1041 TraceAttributes::DB_QUERY_PARAMETER

Replaced by db.operation.parameter.

1065 TraceAttributes::DB_REDIS_DATABASE_INDEX

Replaced by db.namespace.

1084 TraceAttributes::DB_SQL_TABLE

Replaced by db.collection.name.

1091 TraceAttributes::DB_STATEMENT

Replaced by db.query.text.

1098 TraceAttributes::DB_SYSTEM

Replaced by db.system.name.

1111 TraceAttributes::DB_USER

No replacement at this time.

1118 TraceAttributes::DEPLOYMENT_ENVIRONMENT

Deprecated, use deployment.environment.name instead.

1208 TraceAttributes::ENDUSER_ID

Replaced by user.id attribute.

1215 TraceAttributes::ENDUSER_ROLE

Replaced by user.roles attribute.

1222 TraceAttributes::ENDUSER_SCOPE

Removed.

1254 TraceAttributes::EVENT_NAME

Replaced by EventName top-level field on the LogRecord

1261 TraceAttributes::EXCEPTION_ESCAPED

It's no longer recommended to record exceptions that are handled and do not escape the scope of a span.

1575 TraceAttributes::GEN_AI_COMPLETION

Removed, no replacement at this time.

1587 TraceAttributes::GEN_AI_OPENAI_REQUEST_SEED

Replaced by gen_ai.request.seed attribute.

1615 TraceAttributes::GEN_AI_PROMPT

Removed, no replacement at this time.

1709 TraceAttributes::GEN_AI_USAGE_COMPLETION_TOKENS

Replaced by gen_ai.usage.output_tokens attribute.

1726 TraceAttributes::GEN_AI_USAGE_PROMPT_TOKENS

Replaced by gen_ai.usage.input_tokens attribute.

1885 TraceAttributes::HTTP_CLIENT_IP

Replaced by client.address.

1897 TraceAttributes::HTTP_FLAVOR

Replaced by network.protocol.name.

1904 TraceAttributes::HTTP_HOST

Replaced by one of server.address, client.address or http.request.header.host, depending on the usage.

1911 TraceAttributes::HTTP_METHOD

Replaced by http.request.method.

1968 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH

Replaced by http.request.header.<key>.

1975 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED

Replaced by http.request.body.size.

2006 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH

Replaced by http.response.header.<key>.

2013 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED

Replace by http.response.body.size.

2028 TraceAttributes::HTTP_SCHEME

Replaced by url.scheme instead.

2035 TraceAttributes::HTTP_SERVER_NAME

Replaced by server.address.

2042 TraceAttributes::HTTP_STATUS_CODE

Replaced by http.response.status_code.

2049 TraceAttributes::HTTP_TARGET

Split to url.path and `url.query.

2056 TraceAttributes::HTTP_URL

Replaced by url.full.

2063 TraceAttributes::HTTP_USER_AGENT

Replaced by user_agent.original.

2072 TraceAttributes::IOS_STATE

Moved to a payload field of device.app.lifecycle.

2239 TraceAttributes::K8S_POD_LABELS

Replaced by k8s.pod.label.

2331 TraceAttributes::MESSAGE_COMPRESSED_SIZE

Replaced by rpc.message.compressed_size.

2338 TraceAttributes::MESSAGE_ID

Replaced by rpc.message.id.

2345 TraceAttributes::MESSAGE_TYPE

Replaced by rpc.message.type.

2352 TraceAttributes::MESSAGE_UNCOMPRESSED_SIZE

Replaced by rpc.message.uncompressed_size.

2411 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_ANONYMOUS

No replacement at this time.

2418 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_NAME

No replacement at this time.

2425 TraceAttributes::MESSAGING_EVENTHUBS_CONSUMER_GROUP

Replaced by messaging.consumer.group.name.

2457 TraceAttributes::MESSAGING_KAFKA_CONSUMER_GROUP

Replaced by messaging.consumer.group.name.

2464 TraceAttributes::MESSAGING_KAFKA_DESTINATION_PARTITION

Replaced by messaging.destination.partition.id.

2478 TraceAttributes::MESSAGING_KAFKA_MESSAGE_OFFSET

Replaced by messaging.kafka.offset.

2521 TraceAttributes::MESSAGING_OPERATION

Replaced by messaging.operation.type.

2550 TraceAttributes::MESSAGING_ROCKETMQ_CLIENT_GROUP

Replaced by messaging.consumer.group.name on the consumer spans. No replacement for producer spans.

2597 TraceAttributes::MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME

Replaced by messaging.destination.subscription.name.

2625 TraceAttributes::NET_HOST_IP

Replaced by network.local.address.

2632 TraceAttributes::NET_HOST_NAME

Replaced by server.address.

2639 TraceAttributes::NET_HOST_PORT

Replaced by server.port.

2646 TraceAttributes::NET_PEER_IP

Replaced by network.peer.address.

2653 TraceAttributes::NET_PEER_NAME

Replaced by server.address on client spans and client.address on server spans.

2660 TraceAttributes::NET_PEER_PORT

Replaced by server.port on client spans and client.port on server spans.

2667 TraceAttributes::NET_PROTOCOL_NAME

Replaced by network.protocol.name.

2674 TraceAttributes::NET_PROTOCOL_VERSION

Replaced by network.protocol.version.

2681 TraceAttributes::NET_SOCK_FAMILY

Split to network.transport and network.type.

2688 TraceAttributes::NET_SOCK_HOST_ADDR

Replaced by network.local.address.

2695 TraceAttributes::NET_SOCK_HOST_PORT

Replaced by network.local.port.

2702 TraceAttributes::NET_SOCK_PEER_ADDR

Replaced by network.peer.address.

2709 TraceAttributes::NET_SOCK_PEER_NAME

Removed.

2716 TraceAttributes::NET_SOCK_PEER_PORT

Replaced by network.peer.port.

2723 TraceAttributes::NET_TRANSPORT

Replaced by network.transport.

2864 TraceAttributes::OTEL_LIBRARY_NAME

Use the otel.scope.name attribute.

2871 TraceAttributes::OTEL_LIBRARY_VERSION

Use the otel.scope.version attribute.

2898 TraceAttributes::STATE

Replaced by db.client.connection.state.

2910 TraceAttributes::POOL_NAME

Replaced by db.client.connection.pool.name.

2944 TraceAttributes::PROCESS_CPU_STATE

Replaced by cpu.mode

2971 TraceAttributes::PROCESS_EXECUTABLE_BUILD_ID_PROFILING

Replaced by process.executable.build_id.htlhash

3340 TraceAttributes::SYSTEM_CPU_STATE

Replaced by cpu.mode

3377 TraceAttributes::SYSTEM_NETWORK_STATE

Removed, report network connection state with network.connection.state attribute

3404 TraceAttributes::SYSTEM_PROCESSES_STATUS

Replaced by system.process.status.

3528 TraceAttributes::TLS_CLIENT_SERVER_NAME

Replaced by server.address.

3907 TraceAttributes::VCS_REPOSITORY_CHANGE_ID

Deprecated, use vcs.change.id instead.

3914 TraceAttributes::VCS_REPOSITORY_CHANGE_TITLE

Deprecated, use vcs.change.title instead.

3930 TraceAttributes::VCS_REPOSITORY_REF_NAME

Deprecated, use vcs.ref.head.name instead.

3937 TraceAttributes::VCS_REPOSITORY_REF_REVISION

Deprecated, use vcs.ref.head.revision instead.

3944 TraceAttributes::VCS_REPOSITORY_REF_TYPE

Deprecated, use vcs.ref.head.type instead.

TraceAttributeValues.php

Line Element Reason
973 TraceAttributeValues::DB_SYSTEM_CACHE

Replaced by intersystems_cache.

1002 TraceAttributeValues::DB_SYSTEM_CLOUDSCAPE

Replaced by other_sql.

1017 TraceAttributeValues::DB_SYSTEM_COLDFUSION

Removed.

1095 TraceAttributeValues::DB_SYSTEM_FIRSTSQL

Replaced by other_sql.

1215 TraceAttributeValues::DB_SYSTEM_MSSQLCOMPACT

Removed, use other_sql instead.

2476 TraceAttributeValues::MESSAGING_OPERATION_TYPE_DELIVER

Replaced by process.

2484 TraceAttributeValues::MESSAGING_OPERATION_TYPE_PUBLISH

Replaced by send.

3633 TraceAttributeValues::SYSTEM_MEMORY_STATE_SHARED

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

Search results