Skip to content

Commit 28d7b15

Browse files
authored
More metadata for another batch of instrumentations (#14399)
1 parent b02219c commit 28d7b15

File tree

17 files changed

+306
-20
lines changed

17 files changed

+306
-20
lines changed

docs/instrumentation-list.yaml

Lines changed: 252 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ libraries:
5959
type: STRING
6060
akka:
6161
- name: akka-actor-2.3
62+
description: This instrumentation provides context propagation for Akka actors,
63+
it does not emit any telemetry on its own.
6264
source_path: instrumentation/akka/akka-actor-2.3
6365
scope:
6466
name: io.opentelemetry.akka-actor-2.3
@@ -68,6 +70,8 @@ libraries:
6870
- com.typesafe.akka:akka-actor_2.12:[2.3,)
6971
- com.typesafe.akka:akka-actor_2.13:[2.3,)
7072
- name: akka-actor-fork-join-2.5
73+
description: This instrumentation provides context propagation for the Akka Fork-Join
74+
Pool, it does not emit any telemetry on its own.
7175
source_path: instrumentation/akka/akka-actor-fork-join-2.5
7276
scope:
7377
name: io.opentelemetry.akka-actor-fork-join-2.5
@@ -887,7 +891,7 @@ libraries:
887891
aws:
888892
- name: aws-lambda-core-1.0
889893
description: |
890-
Provides lightweight instrumentation of the Lambda core library, supporting all versions. Use this package if you only use `RequestStreamHandler` or know you don't use any event classes from `aws-lambda-java-events`. This also includes when you are using `aws-serverless-java-container` to run e.g., a Spring Boot application on Lambda.
894+
Provides lightweight instrumentation of the Lambda core library, supporting all versions. It generates FaaS SERVER spans with the `faas.invocation_id` attribute. Use this package if you only use `RequestStreamHandler` or know you don't use any event classes from `aws-lambda-java-events`. This also includes when you are using `aws-serverless-java-container` to run e.g., a Spring Boot application on Lambda.
891895
source_path: instrumentation/aws-lambda/aws-lambda-core-1.0
892896
scope:
893897
name: io.opentelemetry.aws-lambda-core-1.0
@@ -901,6 +905,13 @@ libraries:
901905
description: Flush timeout in milliseconds.
902906
type: int
903907
default: 10000
908+
telemetry:
909+
- when: default
910+
spans:
911+
- span_kind: SERVER
912+
attributes:
913+
- name: faas.invocation_id
914+
type: STRING
904915
- name: aws-lambda-events-2.2
905916
description: |
906917
Provides full instrumentation of the Lambda library, including standard and custom event types, from `aws-lambda-java-events` 2.2+.
@@ -918,7 +929,32 @@ libraries:
918929
description: Flush timeout in milliseconds.
919930
type: int
920931
default: 10000
932+
telemetry:
933+
- when: default
934+
spans:
935+
- span_kind: CONSUMER
936+
attributes:
937+
- name: messaging.operation
938+
type: STRING
939+
- name: messaging.system
940+
type: STRING
941+
- span_kind: SERVER
942+
attributes:
943+
- name: faas.invocation_id
944+
type: STRING
945+
- name: faas.trigger
946+
type: STRING
947+
- name: http.request.method
948+
type: STRING
949+
- name: http.response.status_code
950+
type: LONG
951+
- name: url.full
952+
type: STRING
953+
- name: user_agent.original
954+
type: STRING
921955
- name: aws-sdk-1.11
956+
description: |
957+
This instrumentation covers the AWS SDK 1.11+ client library, enabling messaging and client spans and metrics for calls to AWS services including DynamoDB, EC2, Kinesis, Lambda, RDS, S3, secrets manager, SNS/SQS and step functions.
922958
source_path: instrumentation/aws-sdk/aws-sdk-1.11
923959
scope:
924960
name: io.opentelemetry.aws-sdk-1.11
@@ -931,7 +967,8 @@ libraries:
931967
- com.amazonaws:aws-java-sdk-core:1.11.0
932968
configurations:
933969
- name: otel.instrumentation.aws-sdk.experimental-span-attributes
934-
description: Enables experimental span attributes for AWS SDK instrumentation.
970+
description: |
971+
Enables the experimental span attributes `aws.agent`, `aws.bucket.name`, `aws.queue.url`, `aws.queue.name`, `aws.stream.name`, `aws.table.name`, `aws.lambda.function.arn` and `aws.lambda.function.name` for AWS SDK instrumentation.
935972
type: boolean
936973
default: false
937974
- name: otel.instrumentation.messaging.experimental.receive-telemetry.enabled
@@ -1143,6 +1180,8 @@ libraries:
11431180
- name: url.full
11441181
type: STRING
11451182
- name: aws-sdk-2.2
1183+
description: |
1184+
This instrumentation covers the AWS SDK 2.2+ client library, enabling messaging and client spans and metrics for calls to AWS services including DynamoDB, EC2, Kinesis, Lambda, RDS, S3, SNS/SQS and Bedrock.
11461185
source_path: instrumentation/aws-sdk/aws-sdk-2.2
11471186
scope:
11481187
name: io.opentelemetry.aws-sdk-2.2
@@ -1170,7 +1209,8 @@ libraries:
11701209
type: list
11711210
default: ''
11721211
- name: otel.instrumentation.aws-sdk.experimental-span-attributes
1173-
description: Enables experimental span attributes for AWS SDK instrumentation.
1212+
description: |
1213+
Enables experimental span attributes `aws.agent`, `aws.lambda.function.arn` and `aws.lambda.function.name` for AWS SDK instrumentation.
11741214
type: boolean
11751215
default: false
11761216
- name: otel.instrumentation.aws-sdk.experimental-use-propagator-for-messaging
@@ -1179,9 +1219,8 @@ libraries:
11791219
type: boolean
11801220
default: false
11811221
- name: otel.instrumentation.genai.capture-message-content
1182-
description: Determines whether Generative AI events include full content of
1183-
user and assistant messages. Note that full content can have data privacy
1184-
and size concerns and care should be taken when enabling this
1222+
description: |
1223+
Determines whether Generative AI events include full content of user and assistant messages. Note that full content can have data privacy and size concerns and care should be taken when enabling this
11851224
type: boolean
11861225
default: false
11871226
- name: otel.instrumentation.aws-sdk.experimental-record-individual-http-error
@@ -1499,20 +1538,26 @@ libraries:
14991538
type: STRING
15001539
azure:
15011540
- name: azure-core-1.14
1541+
description: This instrumentation enables context propagation for the Azure Core
1542+
library, it does not emit any telemetry on its own.
15021543
source_path: instrumentation/azure-core/azure-core-1.14
15031544
scope:
15041545
name: io.opentelemetry.azure-core-1.14
15051546
target_versions:
15061547
javaagent:
15071548
- com.azure:azure-core:[1.14.0,1.19.0)
15081549
- name: azure-core-1.19
1550+
description: This instrumentation enables context propagation for the Azure Core
1551+
library, it does not emit any telemetry on its own.
15091552
source_path: instrumentation/azure-core/azure-core-1.19
15101553
scope:
15111554
name: io.opentelemetry.azure-core-1.19
15121555
target_versions:
15131556
javaagent:
15141557
- com.azure:azure-core:[1.19.0,1.36.0)
15151558
- name: azure-core-1.36
1559+
description: This instrumentation enables context propagation for the Azure Core
1560+
library, it does not emit any telemetry on its own.
15161561
source_path: instrumentation/azure-core/azure-core-1.36
15171562
scope:
15181563
name: io.opentelemetry.azure-core-1.36
@@ -1583,7 +1628,8 @@ libraries:
15831628
- org.apache.camel:camel-core:[2.19,3)
15841629
configurations:
15851630
- name: otel.instrumentation.camel.experimental-span-attributes
1586-
description: Enable the capture of experimental span attributes.
1631+
description: |
1632+
Enable the capture of experimental `camel.uri`, `camel.kafka.partitionKey`, `camel.kafka.key` and `camel.kafka.offset` span attributes.
15871633
type: boolean
15881634
default: false
15891635
cassandra:
@@ -1601,6 +1647,55 @@ libraries:
16011647
description: Enables statement sanitization for database queries.
16021648
type: boolean
16031649
default: true
1650+
telemetry:
1651+
- when: default
1652+
spans:
1653+
- span_kind: CLIENT
1654+
attributes:
1655+
- name: db.cassandra.table
1656+
type: STRING
1657+
- name: db.name
1658+
type: STRING
1659+
- name: db.operation
1660+
type: STRING
1661+
- name: db.statement
1662+
type: STRING
1663+
- name: db.system
1664+
type: STRING
1665+
- name: network.peer.address
1666+
type: STRING
1667+
- name: network.peer.port
1668+
type: LONG
1669+
- name: network.type
1670+
type: STRING
1671+
- name: server.address
1672+
type: STRING
1673+
- name: server.port
1674+
type: LONG
1675+
- when: otel.semconv-stability.opt-in=database
1676+
spans:
1677+
- span_kind: CLIENT
1678+
attributes:
1679+
- name: db.collection.name
1680+
type: STRING
1681+
- name: db.namespace
1682+
type: STRING
1683+
- name: db.operation.name
1684+
type: STRING
1685+
- name: db.query.text
1686+
type: STRING
1687+
- name: db.system.name
1688+
type: STRING
1689+
- name: network.peer.address
1690+
type: STRING
1691+
- name: network.peer.port
1692+
type: LONG
1693+
- name: network.type
1694+
type: STRING
1695+
- name: server.address
1696+
type: STRING
1697+
- name: server.port
1698+
type: LONG
16041699
- name: cassandra-4.0
16051700
description: |
16061701
Instruments the Cassandra database client, providing database client spans and metrics for Cassandra queries.
@@ -1615,6 +1710,79 @@ libraries:
16151710
description: Enables statement sanitization for database queries.
16161711
type: boolean
16171712
default: true
1713+
telemetry:
1714+
- when: default
1715+
spans:
1716+
- span_kind: CLIENT
1717+
attributes:
1718+
- name: db.cassandra.consistency_level
1719+
type: STRING
1720+
- name: db.cassandra.coordinator.dc
1721+
type: STRING
1722+
- name: db.cassandra.coordinator.id
1723+
type: STRING
1724+
- name: db.cassandra.idempotence
1725+
type: BOOLEAN
1726+
- name: db.cassandra.page_size
1727+
type: LONG
1728+
- name: db.cassandra.speculative_execution_count
1729+
type: LONG
1730+
- name: db.cassandra.table
1731+
type: STRING
1732+
- name: db.name
1733+
type: STRING
1734+
- name: db.operation
1735+
type: STRING
1736+
- name: db.statement
1737+
type: STRING
1738+
- name: db.system
1739+
type: STRING
1740+
- name: network.peer.address
1741+
type: STRING
1742+
- name: network.peer.port
1743+
type: LONG
1744+
- name: network.type
1745+
type: STRING
1746+
- name: server.address
1747+
type: STRING
1748+
- name: server.port
1749+
type: LONG
1750+
- when: otel.semconv-stability.opt-in=database
1751+
spans:
1752+
- span_kind: CLIENT
1753+
attributes:
1754+
- name: cassandra.consistency.level
1755+
type: STRING
1756+
- name: cassandra.coordinator.dc
1757+
type: STRING
1758+
- name: cassandra.coordinator.id
1759+
type: STRING
1760+
- name: cassandra.page.size
1761+
type: LONG
1762+
- name: cassandra.query.idempotent
1763+
type: BOOLEAN
1764+
- name: cassandra.speculative_execution.count
1765+
type: LONG
1766+
- name: db.collection.name
1767+
type: STRING
1768+
- name: db.namespace
1769+
type: STRING
1770+
- name: db.operation.name
1771+
type: STRING
1772+
- name: db.query.text
1773+
type: STRING
1774+
- name: db.system.name
1775+
type: STRING
1776+
- name: network.peer.address
1777+
type: STRING
1778+
- name: network.peer.port
1779+
type: LONG
1780+
- name: network.type
1781+
type: STRING
1782+
- name: server.address
1783+
type: STRING
1784+
- name: server.port
1785+
type: LONG
16181786
- name: cassandra-4.4
16191787
description: |
16201788
Instruments the Cassandra database client, providing database client spans and metrics for Cassandra queries.
@@ -1631,6 +1799,79 @@ libraries:
16311799
description: Enables statement sanitization for database queries.
16321800
type: boolean
16331801
default: true
1802+
telemetry:
1803+
- when: default
1804+
spans:
1805+
- span_kind: CLIENT
1806+
attributes:
1807+
- name: db.cassandra.consistency_level
1808+
type: STRING
1809+
- name: db.cassandra.coordinator.dc
1810+
type: STRING
1811+
- name: db.cassandra.coordinator.id
1812+
type: STRING
1813+
- name: db.cassandra.idempotence
1814+
type: BOOLEAN
1815+
- name: db.cassandra.page_size
1816+
type: LONG
1817+
- name: db.cassandra.speculative_execution_count
1818+
type: LONG
1819+
- name: db.cassandra.table
1820+
type: STRING
1821+
- name: db.name
1822+
type: STRING
1823+
- name: db.operation
1824+
type: STRING
1825+
- name: db.statement
1826+
type: STRING
1827+
- name: db.system
1828+
type: STRING
1829+
- name: network.peer.address
1830+
type: STRING
1831+
- name: network.peer.port
1832+
type: LONG
1833+
- name: network.type
1834+
type: STRING
1835+
- name: server.address
1836+
type: STRING
1837+
- name: server.port
1838+
type: LONG
1839+
- when: otel.semconv-stability.opt-in=database
1840+
spans:
1841+
- span_kind: CLIENT
1842+
attributes:
1843+
- name: cassandra.consistency.level
1844+
type: STRING
1845+
- name: cassandra.coordinator.dc
1846+
type: STRING
1847+
- name: cassandra.coordinator.id
1848+
type: STRING
1849+
- name: cassandra.page.size
1850+
type: LONG
1851+
- name: cassandra.query.idempotent
1852+
type: BOOLEAN
1853+
- name: cassandra.speculative_execution.count
1854+
type: LONG
1855+
- name: db.collection.name
1856+
type: STRING
1857+
- name: db.namespace
1858+
type: STRING
1859+
- name: db.operation.name
1860+
type: STRING
1861+
- name: db.query.text
1862+
type: STRING
1863+
- name: db.system.name
1864+
type: STRING
1865+
- name: network.peer.address
1866+
type: STRING
1867+
- name: network.peer.port
1868+
type: LONG
1869+
- name: network.type
1870+
type: STRING
1871+
- name: server.address
1872+
type: STRING
1873+
- name: server.port
1874+
type: LONG
16341875
clickhouse:
16351876
- name: clickhouse-client-0.5
16361877
description: Instruments the V1 ClickHouseClient, providing database client spans
@@ -1709,8 +1950,8 @@ libraries:
17091950
- com.couchbase.client:java-client:[2,3)
17101951
configurations:
17111952
- name: otel.instrumentation.couchbase.experimental-span-attributes
1712-
description: Enables experimental span attributes couchbase.operation_id and
1713-
couchbase.local.address
1953+
description: Enables experimental span attributes `couchbase.operation_id` and
1954+
`couchbase.local.address`
17141955
type: boolean
17151956
default: false
17161957
- name: couchbase-2.6
@@ -3648,9 +3889,9 @@ libraries:
36483889
name: io.opentelemetry.openai-java-1.1
36493890
target_versions:
36503891
javaagent:
3651-
- com.openai:openai-java:[1.1.0,)
3892+
- com.openai:openai-java:[1.1.0,3)
36523893
library:
3653-
- com.openai:openai-java:1.1.0
3894+
- com.openai:openai-java:[1.1.0,2.+)
36543895
configurations:
36553896
- name: otel.instrumentation.genai.capture-message-content
36563897
description: |

0 commit comments

Comments
 (0)