Skip to content

Commit 392e6f7

Browse files
committed
experimental helpers
1 parent ff752c2 commit 392e6f7

File tree

10 files changed

+503
-145
lines changed

10 files changed

+503
-145
lines changed

docs/instrumentation-list.yaml

Lines changed: 336 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,13 @@ libraries:
901901
description: Flush timeout in milliseconds.
902902
type: int
903903
default: 10000
904+
telemetry:
905+
- when: default
906+
spans:
907+
- span_kind: SERVER
908+
attributes:
909+
- name: faas.invocation_id
910+
type: STRING
904911
- name: aws-lambda-events-2.2
905912
description: |
906913
Provides full instrumentation of the Lambda library, including standard and custom event types, from `aws-lambda-java-events` 2.2+.
@@ -918,6 +925,29 @@ libraries:
918925
description: Flush timeout in milliseconds.
919926
type: int
920927
default: 10000
928+
telemetry:
929+
- when: default
930+
spans:
931+
- span_kind: CONSUMER
932+
attributes:
933+
- name: messaging.operation
934+
type: STRING
935+
- name: messaging.system
936+
type: STRING
937+
- span_kind: SERVER
938+
attributes:
939+
- name: faas.invocation_id
940+
type: STRING
941+
- name: faas.trigger
942+
type: STRING
943+
- name: http.request.method
944+
type: STRING
945+
- name: http.response.status_code
946+
type: LONG
947+
- name: url.full
948+
type: STRING
949+
- name: user_agent.original
950+
type: STRING
921951
- name: aws-sdk-1.11
922952
source_path: instrumentation/aws-sdk/aws-sdk-1.11
923953
scope:
@@ -1586,6 +1616,115 @@ libraries:
15861616
description: Enable the capture of experimental span attributes.
15871617
type: boolean
15881618
default: false
1619+
telemetry:
1620+
- when: default
1621+
spans:
1622+
- span_kind: CLIENT
1623+
attributes:
1624+
- name: db.name
1625+
type: STRING
1626+
- name: db.statement
1627+
type: STRING
1628+
- name: db.system
1629+
type: STRING
1630+
- name: http.request.method
1631+
type: STRING
1632+
- name: http.response.status_code
1633+
type: LONG
1634+
- name: url.full
1635+
type: STRING
1636+
- span_kind: INTERNAL
1637+
attributes:
1638+
- name: http.request.method
1639+
type: STRING
1640+
- name: messaging.destination.name
1641+
type: STRING
1642+
- name: messaging.message.id
1643+
type: STRING
1644+
- name: url.full
1645+
type: STRING
1646+
- span_kind: SERVER
1647+
attributes:
1648+
- name: http.request.method
1649+
type: STRING
1650+
- name: http.response.status_code
1651+
type: LONG
1652+
- name: url.full
1653+
type: STRING
1654+
- when: otel.instrumentation.camel.experimental-span-attributes=true
1655+
spans:
1656+
- span_kind: CLIENT
1657+
attributes:
1658+
- name: camel.uri
1659+
type: STRING
1660+
- name: db.name
1661+
type: STRING
1662+
- name: db.statement
1663+
type: STRING
1664+
- name: db.system
1665+
type: STRING
1666+
- name: http.request.method
1667+
type: STRING
1668+
- name: http.response.status_code
1669+
type: LONG
1670+
- name: url.full
1671+
type: STRING
1672+
- span_kind: INTERNAL
1673+
attributes:
1674+
- name: camel.uri
1675+
type: STRING
1676+
- name: http.request.method
1677+
type: STRING
1678+
- name: messaging.destination.name
1679+
type: STRING
1680+
- name: messaging.message.id
1681+
type: STRING
1682+
- name: url.full
1683+
type: STRING
1684+
- span_kind: SERVER
1685+
attributes:
1686+
- name: camel.uri
1687+
type: STRING
1688+
- name: http.request.method
1689+
type: STRING
1690+
- name: http.response.status_code
1691+
type: LONG
1692+
- name: url.full
1693+
type: STRING
1694+
- when: otel.semconv-stability.opt-in=database
1695+
spans:
1696+
- span_kind: CLIENT
1697+
attributes:
1698+
- name: db.namespace
1699+
type: STRING
1700+
- name: db.query.text
1701+
type: STRING
1702+
- name: db.system.name
1703+
type: STRING
1704+
- name: http.request.method
1705+
type: STRING
1706+
- name: http.response.status_code
1707+
type: LONG
1708+
- name: url.full
1709+
type: STRING
1710+
- span_kind: INTERNAL
1711+
attributes:
1712+
- name: http.request.method
1713+
type: STRING
1714+
- name: messaging.destination.name
1715+
type: STRING
1716+
- name: messaging.message.id
1717+
type: STRING
1718+
- name: url.full
1719+
type: STRING
1720+
- span_kind: SERVER
1721+
attributes:
1722+
- name: http.request.method
1723+
type: STRING
1724+
- name: http.response.status_code
1725+
type: LONG
1726+
- name: url.full
1727+
type: STRING
15891728
cassandra:
15901729
- name: cassandra-3.0
15911730
description: |
@@ -1601,6 +1740,55 @@ libraries:
16011740
description: Enables statement sanitization for database queries.
16021741
type: boolean
16031742
default: true
1743+
telemetry:
1744+
- when: default
1745+
spans:
1746+
- span_kind: CLIENT
1747+
attributes:
1748+
- name: db.cassandra.table
1749+
type: STRING
1750+
- name: db.name
1751+
type: STRING
1752+
- name: db.operation
1753+
type: STRING
1754+
- name: db.statement
1755+
type: STRING
1756+
- name: db.system
1757+
type: STRING
1758+
- name: network.peer.address
1759+
type: STRING
1760+
- name: network.peer.port
1761+
type: LONG
1762+
- name: network.type
1763+
type: STRING
1764+
- name: server.address
1765+
type: STRING
1766+
- name: server.port
1767+
type: LONG
1768+
- when: otel.semconv-stability.opt-in=database
1769+
spans:
1770+
- span_kind: CLIENT
1771+
attributes:
1772+
- name: db.collection.name
1773+
type: STRING
1774+
- name: db.namespace
1775+
type: STRING
1776+
- name: db.operation.name
1777+
type: STRING
1778+
- name: db.query.text
1779+
type: STRING
1780+
- name: db.system.name
1781+
type: STRING
1782+
- name: network.peer.address
1783+
type: STRING
1784+
- name: network.peer.port
1785+
type: LONG
1786+
- name: network.type
1787+
type: STRING
1788+
- name: server.address
1789+
type: STRING
1790+
- name: server.port
1791+
type: LONG
16041792
- name: cassandra-4.0
16051793
description: |
16061794
Instruments the Cassandra database client, providing database client spans and metrics for Cassandra queries.
@@ -1615,6 +1803,79 @@ libraries:
16151803
description: Enables statement sanitization for database queries.
16161804
type: boolean
16171805
default: true
1806+
telemetry:
1807+
- when: default
1808+
spans:
1809+
- span_kind: CLIENT
1810+
attributes:
1811+
- name: db.cassandra.consistency_level
1812+
type: STRING
1813+
- name: db.cassandra.coordinator.dc
1814+
type: STRING
1815+
- name: db.cassandra.coordinator.id
1816+
type: STRING
1817+
- name: db.cassandra.idempotence
1818+
type: BOOLEAN
1819+
- name: db.cassandra.page_size
1820+
type: LONG
1821+
- name: db.cassandra.speculative_execution_count
1822+
type: LONG
1823+
- name: db.cassandra.table
1824+
type: STRING
1825+
- name: db.name
1826+
type: STRING
1827+
- name: db.operation
1828+
type: STRING
1829+
- name: db.statement
1830+
type: STRING
1831+
- name: db.system
1832+
type: STRING
1833+
- name: network.peer.address
1834+
type: STRING
1835+
- name: network.peer.port
1836+
type: LONG
1837+
- name: network.type
1838+
type: STRING
1839+
- name: server.address
1840+
type: STRING
1841+
- name: server.port
1842+
type: LONG
1843+
- when: otel.semconv-stability.opt-in=database
1844+
spans:
1845+
- span_kind: CLIENT
1846+
attributes:
1847+
- name: cassandra.consistency.level
1848+
type: STRING
1849+
- name: cassandra.coordinator.dc
1850+
type: STRING
1851+
- name: cassandra.coordinator.id
1852+
type: STRING
1853+
- name: cassandra.page.size
1854+
type: LONG
1855+
- name: cassandra.query.idempotent
1856+
type: BOOLEAN
1857+
- name: cassandra.speculative_execution.count
1858+
type: LONG
1859+
- name: db.collection.name
1860+
type: STRING
1861+
- name: db.namespace
1862+
type: STRING
1863+
- name: db.operation.name
1864+
type: STRING
1865+
- name: db.query.text
1866+
type: STRING
1867+
- name: db.system.name
1868+
type: STRING
1869+
- name: network.peer.address
1870+
type: STRING
1871+
- name: network.peer.port
1872+
type: LONG
1873+
- name: network.type
1874+
type: STRING
1875+
- name: server.address
1876+
type: STRING
1877+
- name: server.port
1878+
type: LONG
16181879
- name: cassandra-4.4
16191880
description: |
16201881
Instruments the Cassandra database client, providing database client spans and metrics for Cassandra queries.
@@ -1631,6 +1892,79 @@ libraries:
16311892
description: Enables statement sanitization for database queries.
16321893
type: boolean
16331894
default: true
1895+
telemetry:
1896+
- when: default
1897+
spans:
1898+
- span_kind: CLIENT
1899+
attributes:
1900+
- name: db.cassandra.consistency_level
1901+
type: STRING
1902+
- name: db.cassandra.coordinator.dc
1903+
type: STRING
1904+
- name: db.cassandra.coordinator.id
1905+
type: STRING
1906+
- name: db.cassandra.idempotence
1907+
type: BOOLEAN
1908+
- name: db.cassandra.page_size
1909+
type: LONG
1910+
- name: db.cassandra.speculative_execution_count
1911+
type: LONG
1912+
- name: db.cassandra.table
1913+
type: STRING
1914+
- name: db.name
1915+
type: STRING
1916+
- name: db.operation
1917+
type: STRING
1918+
- name: db.statement
1919+
type: STRING
1920+
- name: db.system
1921+
type: STRING
1922+
- name: network.peer.address
1923+
type: STRING
1924+
- name: network.peer.port
1925+
type: LONG
1926+
- name: network.type
1927+
type: STRING
1928+
- name: server.address
1929+
type: STRING
1930+
- name: server.port
1931+
type: LONG
1932+
- when: otel.semconv-stability.opt-in=database
1933+
spans:
1934+
- span_kind: CLIENT
1935+
attributes:
1936+
- name: cassandra.consistency.level
1937+
type: STRING
1938+
- name: cassandra.coordinator.dc
1939+
type: STRING
1940+
- name: cassandra.coordinator.id
1941+
type: STRING
1942+
- name: cassandra.page.size
1943+
type: LONG
1944+
- name: cassandra.query.idempotent
1945+
type: BOOLEAN
1946+
- name: cassandra.speculative_execution.count
1947+
type: LONG
1948+
- name: db.collection.name
1949+
type: STRING
1950+
- name: db.namespace
1951+
type: STRING
1952+
- name: db.operation.name
1953+
type: STRING
1954+
- name: db.query.text
1955+
type: STRING
1956+
- name: db.system.name
1957+
type: STRING
1958+
- name: network.peer.address
1959+
type: STRING
1960+
- name: network.peer.port
1961+
type: LONG
1962+
- name: network.type
1963+
type: STRING
1964+
- name: server.address
1965+
type: STRING
1966+
- name: server.port
1967+
type: LONG
16341968
clickhouse:
16351969
- name: clickhouse-client-0.5
16361970
description: Instruments the V1 ClickHouseClient, providing database client spans
@@ -3648,9 +3982,9 @@ libraries:
36483982
name: io.opentelemetry.openai-java-1.1
36493983
target_versions:
36503984
javaagent:
3651-
- com.openai:openai-java:[1.1.0,)
3985+
- com.openai:openai-java:[1.1.0,3)
36523986
library:
3653-
- com.openai:openai-java:1.1.0
3987+
- com.openai:openai-java:[1.1.0,2.+)
36543988
configurations:
36553989
- name: otel.instrumentation.genai.capture-message-content
36563990
description: |

0 commit comments

Comments
 (0)