Commit Graph

92 Commits

Author SHA1 Message Date
Trask Stalnaker 33b2703c32 Add net.host.name and net.host.ip to rpc server (#2447) 2022-04-01 22:40:05 -07:00
Trask Stalnaker fc0090a6ef Move net.peer.name from http common to http client (#2446) 2022-04-01 22:29:15 -07:00
Trask Stalnaker 7c1aa90f27 Add rpc.system value for Apache Dubbo (#2453)
* Add rpc.system value for Apache Dubbo

* Generate table
2022-03-30 15:21:53 -07:00
Reiley Yang 2d4de7fdf2 Fix links (#2426) 2022-03-21 23:05:45 -07:00
Joao Grassi 003dee810b Introduce new semantic conventions for CloudEvents (#1978)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Johannes Tax <johannes@johannes.tax>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
2022-03-10 19:11:32 +01:00
Denis Ivanov 20fda6a90e Define span structure for HTTP retries and redirects (#2078)
This PR clarifies semantic conventions for HTTP retries and redirects and defines a span structure and linking as well as span attributes for retries. Changes were discussed recently at Instrumentation SIG meetings.

This change addresses a scenario which is in the scope for bringing the existing HTTP semantic conventions for tracing to an initial stable state, see related [otep #174](https://github.com/open-telemetry/oteps/pull/174).
2022-03-08 20:22:45 -05:00
Armin Ruech 741ac62a15 Bump semantic conventions tool to v0.11.0 and refine enum wording (#2399) 2022-03-04 17:51:37 +01:00
Trask Stalnaker 3aa566575f Add table for well-known rpc.system values (#2377) 2022-03-03 14:38:54 +01:00
Carlos Alberto Cortez d62ad18c75 Add opentracing.ref_type semantic convention. (#2297) 2022-01-31 11:14:02 -06:00
Liudmila Molkova 6ecce73b9b Upgrade semconv generator to v0.8.0 (#2236)
* Upgrade semconv generator to v0.8.0

* update specs with semconv gen 0.8.0

* makefile
2022-01-03 14:09:21 -08:00
ladd 3b50032ecc Add `device.manufacturer` to semantic conventions for resources (#2100)
* Update device.md

Proposed manufacturer field

* Update device.md

* Generate tables

* PR comments

* Remove trailing whitespace

* Update CHANGELOG.md

Make linter happy?

* Fix merge

Co-authored-by: Josh Suereth <joshuasuereth@google.com>
2021-12-16 00:22:56 +00:00
Dmitrii Anoshin fdd5c96846 Clarify difference between `container.name` and `k8s.container.name` (#1980)
Add more details to container name attributes to clarify the difference.

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-11-04 18:45:20 +00:00
Ignacio Bonafonte 14973d30e6 Add swift to the list of `telemetry.sdk.language` (#2097) 2021-11-04 18:38:41 +00:00
Wolfgang Ziegler de1b890989 Add IBM z/Architecture (#2055) 2021-10-28 14:33:18 +02:00
Christian Neumüller 924016dd1a Discourage faas.trigger for client/outgoing spans. (#1921)
* faas.trigger for client/outgoing.
2021-10-20 15:19:39 +02:00
William Armiros 540878944d Add AWS App Runner as a cloud platform (#2004) 2021-10-15 15:59:50 +02:00
Liudmila Molkova 8c7fb44a4e Define HTTP attributes that should be provided at span creation time (#1916) 2021-10-14 14:49:14 +02:00
aaron ai 94b32ee631 Add specific attributes for Apache RocketMQ (#1904) 2021-10-13 11:02:25 +00:00
meteorlxy 3e51df22d7 [semantic conventions] add tencent cloud as a cloud provider (#2006)
* feat: add tencent cloud as a cloud provider

* chore: tweaks

* chore: tweaks

* chore: lint

* chore: changelog

* chore: tweaks

* chore: tweaks

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-10-12 19:02:27 +00:00
Trask Stalnaker d42afabd91 Remove db.cassandra.keyspace and db.hbase.namespace, and clarify db.name (#1973)
Fixes #1760

## Changes

Removes `db.cassandra.keyspace` and `db.hbase.namespace` (in preference for using `db.name`).

Clarifies `db.name` in the case where a database product provides multiple concepts that could be mapped to `db.name`.
2021-10-08 11:58:31 +00:00
Dmitrii Anoshin d2279afe9e Add `k8s.container.restart_count` Resource attribute (#1945)
This change adds a Resource attribute to represent number of container restarts in kubernetes. This is can be used in k8s logs collection to identify a particular container instance, where the number of container restarts is a part of a log file path.

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
2021-10-06 12:10:27 +00:00
Bogdan Drutu db9fbcf0c7 Avoid using gRPC when generic RPC systems have same properties (#1914)
* Avoid using gRPC when generic RPC systems have same properties

The concept of "streaming" is supported by multiple protocols including gRPC, but also others.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update specification/trace/semantic_conventions/rpc.md

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-09-28 23:59:15 +00:00
Armin Ruech b095fdb99a Upgrade semconv generator to v0.7.0 (#1959) 2021-09-23 17:53:01 +02:00
Armin Ruech 5f8cf65593 Upgrade semconv generator to v0.6.0 (#1922) 2021-09-16 09:31:14 +02:00
Christian Neumüller 30fed0f050 Clarify some cases for http.host and http.client_ip. (#1890)
* Clarify some cases for http.host and http.client_ip.

* Fill in PR#.
2021-09-07 19:18:49 +00:00
Christian Neumüller 525baf1b76 Add event semantic conventions, update semantic convention generator to v0.5.0 (#1843)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-09-03 16:59:33 +02:00
Ken Finnigan ca8c79d418 Add `consumer_id` to identify the consumer (#1810)
Resolves #1796
2021-08-23 20:27:08 +02:00
Christian Neumüller 3fffd053af Consistently format enums, fix non-identifier IDs. (#1863) 2021-08-20 16:12:03 +02:00
legendecas 227b4ff1b1 [semantic conventions] add alibaba cloud as a cloud provider (#1831)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
2021-08-03 11:22:31 +00:00
Christian Neumüller 9898561e4e Improve semconv README, link to naming rules. (#1838) 2021-07-30 11:40:49 +02:00
Christian Neumüller 00e41f5884 Move syntax.md to build-tools, improve semconv README. (#1825) 2021-07-26 16:22:12 +02:00
Christian Neumüller 1b0a64202d Lint YAML files (mainly semantic conventions). (#1814)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-07-15 10:12:05 +02:00
Bryce Buchanan cbc2e3953c Mobile spec additions (#1759)
* added spec changes per #1647

* added 'wired' as possible value to `net.host.connection_type`

* fixed spacing in CHANGELOG.md

* added mobile carrier attributes to  semantic_conventions/trace/general.yaml

* fixed issue revealed by

* reverted extra space per markdownlint

* made connection_type allow custom values

* added additional space

* removed manually added table & ran generator tool

* separated connection.type & connection.subtype

* updated changelog to reflect iteration

* added literal radio tech to connection.subtype table

* added  as option for connect.type

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
2021-07-12 09:32:33 -07:00
Christian Neumüller 25f029b2e2 Rework FaaS semantic conventions. (#1781) 2021-07-06 14:34:09 +02:00
Christian Neumüller ecec5145dc Remove examples from enums. (#1779) 2021-06-29 12:54:59 -07:00
Christian Neumüller 795e4ec00f Remove rpc.jsonrpc.method, clarify rpc.method instead. (#1748)
* Remove rpc.jsonrpc.method, clarify rpc.method instead.

* Add PR#.

* Clarify client side code.namespace/function.

* Use "ref" instead of "constraint: any_of".

This should be changed back once
https://github.com/open-telemetry/build-tools/issues/33
is resolved & the updated build tools available.

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-06-14 16:59:09 -07:00
Rob Crowe c8201c16aa Add cockroachdb to db.system semantic conventions (#1725) 2021-05-28 16:26:21 +02:00
James Sherlock 83a291c491 Add Device (Mobile) and OS Version Resource Semantic Attributes (#1596)
* Add Device (Mobile) and OS Version Resource Semantic Attributes

* Added OS Name (iOS) and OS Version (14.4) to `os`.
* Added Device Identifier and Model Identifier to a newly created `device` group.
2021-05-20 14:21:47 +02:00
Eric Mustin e9035a0368 Add memcached to db.system semantic conventions (#1689)
* Add memcached to db.system semantic conventions

As we already use `memcached` to represent the `db.system` Memcached in opentelemetry-python, I believe we should add to the specification recommendation e606542981/instrumentation/opentelemetry-instrumentation-pymemcache/src/opentelemetry/instrumentation/pymemcache/__init__.py (L160)
2021-05-17 16:51:06 +02:00
Rostislav Kirillov d10c8523b2 added JSON RPC specific attributes (#1643) 2021-05-07 18:13:43 +02:00
Robert Pająk 786bc86d2b Add possibility to disable `db.statement` (#1659) 2021-05-03 23:21:57 +02:00
Amir Blum f15465b5ba add rabbitmq to semantic conventions yaml (#1651)
* add rabbitmq to semantic conventions yaml

* add example for rabbitmq routing key

* messaging.rabbitmq - use required syntax

* messaging.rabbitmq generate markdown table from yaml

* update changelog with adding rabbitmq to yaml

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-04-27 08:36:28 -07:00
Jaana Dogan bc85b047c2 Have consistent formatting for semantic convention enums (#1598)
* Have consistent formatting for semantic convention enums

Currently, semantic convention enum values are not consistent.
For example, os.type values are all capitals whereas
cloud.infrastructure_service values are underscored lowercase.
This change improves the inconsistencies.

We also expect language implementations to autogenerate code
from enum values. Each language has their own conventions for
constant variable identifiers and we expect the consistent
formatting is going to help the language implementors.

Fixes #1519.
2021-04-15 17:43:00 +02:00
James Sherlock a1c1110c37 [semantic conventions] trivial: Amend Azure FaaS Description (#1595)
* Fix Azure Member Brief

Azure currently has an incorrect description associated with it. This fixes it 😄

* Update faas.md

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-04-05 15:21:59 -07:00
ivomagi 4aa113a9f1 Adding webengine definition under resources semantic conventions (#1293) 2021-04-01 16:29:36 +02:00
Anuraag Agrawal c94d2d1498 AWS SDK common and dynamodb conventions (#1422)
Co-authored-by: William Armiros <54150514+willarmiros@users.noreply.github.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-03-30 18:53:48 +02:00
Pablo Baeyens bc787fd36a Add aws.ecs.task.revision semantic convention (#1581) 2021-03-30 16:53:24 +02:00
Anuraag Agrawal 0f98135322 Add semantic conventions for instrumenting AWS Lambda. (#1442) 2021-03-24 22:28:16 +01:00
Jaana Dogan 435182a274 Avoid using "infrastructure" terminology for all cloud (#1530)
* Avoid using "infrastructure" terminology for all cloud

Infrastructure in cloud has a specific connotation for concepts
explained in Infrastructure-as-a-Service (IaaS). Avoid this
termilogy because it's exclusive of some other services/platforms
that is represented by the "cloud" namespace.

Renaming "infrastructure_service" to "service" also due to the new
key length limits we are considering and infrastructure_service is
a lengthy choice.
2021-03-22 23:56:07 +01:00
Armin Ruech f2db090205 Update to latest semconv table generator to fix int enum issue (#1564) 2021-03-22 13:51:59 +01:00