Commit Graph

235 Commits

Author SHA1 Message Date
Yuri Shkuro d9fbb6f32c Add Makefile target to auto-generate TOC via markdown-toc (#2020) 2021-10-15 15:04:22 +00: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
Nikita Salnikov-Tarnovski 5161633296 Don't set Span.Status for 4xx http status codes for SERVER spans (#1998)
* Don't set Span.Status for 4xx http status codes for SERVER spans
2021-10-12 13:03:23 +02: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 cdf0cd8679 Update metrics semantic conventions to use the new instrument names (#1976)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
2021-10-05 15:51:33 +00:00
Carlos Alberto Cortez 830a4223c6 Release v1.7.0 (#1926) 2021-09-30 16:23:42 +02: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
Mateusz Rzeszutek 3758cba58b Capture HTTP request/response headers as span attributes (#1898)
* Capture HTTP request/response headers as span attributes

* Reference footnote [2]

* code review suggestions

* code review suggestions

* code review comments

* normalize HTTP header names

* Update specification/trace/semantic_conventions/http.md

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>

* code review suggestion

* Add a CHANGELOG entry

* code review suggestions

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2021-09-21 14:10:45 -04:00
Armin Ruech 5f8cf65593 Upgrade semconv generator to v0.6.0 (#1922) 2021-09-16 09:31:14 +02:00
Patrice Chalin 74479daa4b Delete schema 1.6.0 (#1910)
* Delete 1.6.0

Closes #1909

* Skip schema check for 1.6.0
2021-09-08 22:24:59 -04: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
Carlos Alberto Cortez 7c04982127 Add 1.6.1 Schema File (#1896) 2021-08-31 14:50:37 +02:00
Ken Finnigan ca8c79d418 Add `consumer_id` to identify the consumer (#1810)
Resolves #1796
2021-08-23 20:27:08 +02:00
Joao Grassi 9b2611ca84 Adjust .NET casing (#1883) 2021-08-23 10:02:35 +02:00
Christian Neumüller 3fffd053af Consistently format enums, fix non-identifier IDs. (#1863) 2021-08-20 16:12:03 +02:00
(Eliseo) Nathaniel Ruiz Nowell 5bcb639d1d Lambda instrumentations should check if X-Ray parent context is valid (#1867) 2021-08-17 14:28:52 +02:00
Ken Finnigan f62dd99dc1 Update trace example for Kafka messaging (#1807) 2021-08-16 16:36:27 +02:00
Stavros Kontopoulos 845b29a06e Add FaaS metrics semantic conventions (#1736)
* Define FaaS Metric Semantics

Closes #1013

* adjust faas metrics

* fixes

* docs

* updates

* fixes

* update instruments

* use attributes

Co-authored-by: Michael Lavers <kolanos@gmail.com>
Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
2021-08-10 14:09:34 -07:00
Tigran Najaryan 59717ac29a Add 1.6.0 Schema File (#1855)
No schema changes since 1.5.0, so 1.6.0 section is empty in the file.

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-08-06 18:43:15 +00: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 91392de830 mdlint: Use named rules. (#1813) 2021-07-19 18:08:22 +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
Tigran Najaryan 6b20885222 Add 1.5.0 Schema File (#1802)
No schema changes since 1.4.0, so 1.5.0 section is empty in the file.
2021-07-07 13:59:51 -04:00
Christian Neumüller 25f029b2e2 Rework FaaS semantic conventions. (#1781) 2021-07-06 14:34:09 +02:00
Jakub Malinowski 450410f7f6 Rename Metrics labels to attributes (#1775) 2021-07-01 00:11:54 +02:00
Christian Neumüller ecec5145dc Remove examples from enums. (#1779) 2021-06-29 12:54:59 -07:00
Armin Ruech d56add2b1b Bump semconvgen to 0.4.1 (#1771) 2021-06-22 18:00:48 +02: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
Nikita Salnikov-Tarnovski 56e0491893 Add `OTEL_SERVICE_NAME` environment variable (#1677)
* Add OTEL_SERVICE_NAME environment variable

Closes #709
2021-05-24 15:54:33 +02:00
Tigran Najaryan 4f77db44df Add schema file and a script with minimal checks that verifies them (#1702)
This adds some minimal sanity checks to make sure we don't forget
to add the schema file when we make a release. The checks are tied
to the CHANGELOG.md.

In the future we can do more thorough verifications, e.g. parse the content
of the schema YAML file and ensure it includes the changes that we can
detect by looking at the changes at the semantic convention files.
2021-05-20 10:09:51 -04: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
Yinchi Luo b2c25ee059 fix typo (#1691)
Should be instrumentation, not insrumentation
2021-05-12 20:55:30 +02:00
Armin Ruech 22886a4e1c Fix typo in openmetrics-guidelines.md (#1687)
Co-Authored-By: alberto <alberto.rdrz@gmail.com>

Co-authored-by: alberto <alberto.rdrz@gmail.com>
2021-05-10 10:16:25 -07:00
Rostislav Kirillov d10c8523b2 added JSON RPC specific attributes (#1643) 2021-05-07 18:13:43 +02:00
Reiley Yang 5bf423b6f8 Rename the metrics new_api.md to api.md and updated links (#1672) 2021-05-06 15:12:23 -07:00
Reiley Yang b2d24ae1a5 rename api.md to old_api.md and update links (#1674) 2021-05-06 14:53:04 -07: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
Anuraag Agrawal 6c1ab84bb2 Add details for filling resource for AWS Lambda. (#1610) 2021-04-15 19:00:34 +02:00