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.

580 TraceAttributes::CONTAINER_CPU_STATE

Replaced by cpu.mode

637 TraceAttributes::CONTAINER_LABELS

Replaced by container.label.

689 TraceAttributes::DB_CASSANDRA_TABLE

Replaced by db.collection.name.

706 TraceAttributes::DB_CLIENT_CONNECTIONS_POOL_NAME

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

713 TraceAttributes::DB_CLIENT_CONNECTIONS_STATE

Replaced by db.client.connection.state.

729 TraceAttributes::DB_CONNECTION_STRING

Replaced by server.address and server.port.

746 TraceAttributes::DB_COSMOSDB_CONTAINER

Replaced by db.collection.name.

768 TraceAttributes::DB_COSMOSDB_STATUS_CODE

Replaced by db.response.status_code.

780 TraceAttributes::DB_ELASTICSEARCH_CLUSTER_NAME

Replaced by db.namespace.

799 TraceAttributes::DB_INSTANCE_ID

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

806 TraceAttributes::DB_JDBC_DRIVER_CLASSNAME

Removed as not used.

813 TraceAttributes::DB_MONGODB_COLLECTION

Replaced by db.collection.name.

820 TraceAttributes::DB_MSSQL_INSTANCE_NAME

Deprecated, no replacement at this time.

827 TraceAttributes::DB_NAME

Replaced by db.namespace.

844 TraceAttributes::DB_OPERATION

Replaced by db.operation.name.

887 TraceAttributes::DB_REDIS_DATABASE_INDEX

Replaced by db.namespace.

902 TraceAttributes::DB_SQL_TABLE

Replaced by db.collection.name.

909 TraceAttributes::DB_STATEMENT

Replaced by db.query.text.

923 TraceAttributes::DB_USER

No replacement at this time.

930 TraceAttributes::DEPLOYMENT_ENVIRONMENT

Deprecated, use deployment.environment.name instead.

1015 TraceAttributes::ENDUSER_ID

Replaced by user.id attribute.

1022 TraceAttributes::ENDUSER_ROLE

Replaced by user.roles attribute.

1029 TraceAttributes::ENDUSER_SCOPE

Removed.

1376 TraceAttributes::GEN_AI_COMPLETION

Removed, no replacement at this time.

1409 TraceAttributes::GEN_AI_PROMPT

Removed, no replacement at this time.

1490 TraceAttributes::GEN_AI_USAGE_COMPLETION_TOKENS

Replaced by gen_ai.usage.output_tokens attribute.

1507 TraceAttributes::GEN_AI_USAGE_PROMPT_TOKENS

Replaced by gen_ai.usage.input_tokens attribute.

1631 TraceAttributes::HTTP_CLIENT_IP

Replaced by client.address.

1643 TraceAttributes::HTTP_FLAVOR

Replaced by network.protocol.name.

1650 TraceAttributes::HTTP_HOST

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

1657 TraceAttributes::HTTP_METHOD

Replaced by http.request.method.

1714 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH

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

1721 TraceAttributes::HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED

Replaced by http.request.body.size.

1752 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH

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

1759 TraceAttributes::HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED

Replace by http.response.body.size.

1774 TraceAttributes::HTTP_SCHEME

Replaced by url.scheme instead.

1781 TraceAttributes::HTTP_SERVER_NAME

Replaced by server.address.

1788 TraceAttributes::HTTP_STATUS_CODE

Replaced by http.response.status_code.

1795 TraceAttributes::HTTP_TARGET

Split to url.path and `url.query.

1802 TraceAttributes::HTTP_URL

Replaced by url.full.

1809 TraceAttributes::HTTP_USER_AGENT

Replaced by user_agent.original.

1818 TraceAttributes::IOS_STATE

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

1977 TraceAttributes::K8S_POD_LABELS

Replaced by k8s.pod.label.

2069 TraceAttributes::MESSAGE_COMPRESSED_SIZE

Replaced by rpc.message.compressed_size.

2076 TraceAttributes::MESSAGE_ID

Replaced by rpc.message.id.

2083 TraceAttributes::MESSAGE_TYPE

Replaced by rpc.message.type.

2090 TraceAttributes::MESSAGE_UNCOMPRESSED_SIZE

Replaced by rpc.message.uncompressed_size.

2149 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_ANONYMOUS

No replacement at this time.

2156 TraceAttributes::MESSAGING_DESTINATION_PUBLISH_NAME

No replacement at this time.

2163 TraceAttributes::MESSAGING_EVENTHUBS_CONSUMER_GROUP

Replaced by messaging.consumer.group.name.

2195 TraceAttributes::MESSAGING_KAFKA_CONSUMER_GROUP

Replaced by messaging.consumer.group.name.

2202 TraceAttributes::MESSAGING_KAFKA_DESTINATION_PARTITION

Replaced by messaging.destination.partition.id.

2216 TraceAttributes::MESSAGING_KAFKA_MESSAGE_OFFSET

Replaced by messaging.kafka.offset.

2259 TraceAttributes::MESSAGING_OPERATION

Replaced by messaging.operation.type.

2288 TraceAttributes::MESSAGING_ROCKETMQ_CLIENT_GROUP

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

2335 TraceAttributes::MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME

Replaced by messaging.destination.subscription.name.

2363 TraceAttributes::NET_HOST_IP

Replaced by network.local.address.

2370 TraceAttributes::NET_HOST_NAME

Replaced by server.address.

2377 TraceAttributes::NET_HOST_PORT

Replaced by server.port.

2384 TraceAttributes::NET_PEER_IP

Replaced by network.peer.address.

2391 TraceAttributes::NET_PEER_NAME

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

2398 TraceAttributes::NET_PEER_PORT

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

2405 TraceAttributes::NET_PROTOCOL_NAME

Replaced by network.protocol.name.

2412 TraceAttributes::NET_PROTOCOL_VERSION

Replaced by network.protocol.version.

2419 TraceAttributes::NET_SOCK_FAMILY

Split to network.transport and network.type.

2426 TraceAttributes::NET_SOCK_HOST_ADDR

Replaced by network.local.address.

2433 TraceAttributes::NET_SOCK_HOST_PORT

Replaced by network.local.port.

2440 TraceAttributes::NET_SOCK_PEER_ADDR

Replaced by network.peer.address.

2447 TraceAttributes::NET_SOCK_PEER_NAME

Removed.

2454 TraceAttributes::NET_SOCK_PEER_PORT

Replaced by network.peer.port.

2461 TraceAttributes::NET_TRANSPORT

Replaced by network.transport.

2591 TraceAttributes::OTEL_LIBRARY_NAME

Use the otel.scope.name attribute.

2598 TraceAttributes::OTEL_LIBRARY_VERSION

Use the otel.scope.version attribute.

2625 TraceAttributes::STATE

Replaced by db.client.connection.state.

2637 TraceAttributes::POOL_NAME

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

2671 TraceAttributes::PROCESS_CPU_STATE

Replaced by cpu.mode

3012 TraceAttributes::SYSTEM_CPU_STATE

Replaced by cpu.mode

3074 TraceAttributes::SYSTEM_PROCESSES_STATUS

Replaced by system.process.status.

3198 TraceAttributes::TLS_CLIENT_SERVER_NAME

Replaced by server.address.

TraceAttributeValues.php

Line Element Reason
707 TraceAttributeValues::DB_SYSTEM_CACHE

Replaced by intersystems_cache.

736 TraceAttributeValues::DB_SYSTEM_CLOUDSCAPE

Replaced by other_sql.

751 TraceAttributeValues::DB_SYSTEM_COLDFUSION

Removed.

829 TraceAttributeValues::DB_SYSTEM_FIRSTSQL

Replaced by other_sql.

949 TraceAttributeValues::DB_SYSTEM_MSSQLCOMPACT

Removed, use other_sql instead.

1727 TraceAttributeValues::MESSAGING_OPERATION_TYPE_DELIVER

Replaced by process.

1735 TraceAttributeValues::MESSAGING_OPERATION_TYPE_PUBLISH

Replaced by send.

2807 TraceAttributeValues::SYSTEM_MEMORY_STATE_SHARED

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

Search results