Commit Graph

207 Commits

Author SHA1 Message Date
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
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
Armin Ruech c6e1ae29de Pin `otel/semconvgen` image in Makefile (#1580) 2021-03-30 17:02:24 +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
Armin Ruech 561ad88d7f Update semantic conventions to distinguish int from double (#1550) 2021-03-18 17:06:10 +01:00
Evan Anderson b984dae817 Add metric for currently-in-flight HTTP requests (#1378)
* Add metric for currently-in-flight HTTP requests

* Update name to active_requests

* Fix missing rename noticed by anuraaga

* Clarify `active_requests` are in-flight

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* Switch to UpDownSumObserver

Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2021-03-16 09:19:35 -07:00
Bogdan Drutu cbc55de778 Release v1.1.0 (#1535)
* Release v1.1.0

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

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Add sections to the changelog

* Update markdownlint to allow siblings headers with same name

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

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2021-03-11 10:54:09 -08:00
Jaana Dogan 580121698c Rename cloud.zone to cloud.availability_zone (#1495)
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-03-11 11:02:16 +01:00
Jaana Dogan c670bbd8fd Introduce EKS cluster semantic conventions (#1484) 2021-03-08 17:58:09 +01:00
Jaana Dogan e6cc959e46 Allow to collect host architecture (#1483) 2021-03-05 19:50:00 +01:00
Robert Pająk c3d71dffc8 http.url MUST NOT contain credentials (#1502) 2021-03-05 15:20:04 +01:00
Jaana Dogan 0e92f16571 Have consistent naming for Google Cloud services (#1496) 2021-03-04 17:48:22 +01:00
Jaana Dogan ece6eebf06 Clarify the cloud resource attributes (#1481) 2021-03-02 17:01:35 +01:00
Jaana Dogan 4d2346182b Add container runtime to container conventions (#1482) 2021-03-02 14:37:53 +01:00
Yaniv Davidi b5f94d5fe7 Add elasticsearch to db.system semantic conventions (#1463) 2021-02-25 23:47:00 +01:00
Tristan Sloughter 45859e70b2 erlang process.runtime attributes: remove TODO note and update descriptions (#1445)
* erlang process.runtime attributes: remove TODO note and update descriptions

* erlang: update spec matrix

* add erlang runtime example
2021-02-19 10:30:27 -08:00
Punya Biswal 72fb682fcf Delete blank file (#1447) 2021-02-17 21:27:01 +01:00
Yuri Shkuro 55c4909ebb Fix capitalization of MUST NOT/SHOULD NOT (#1404)
* Fix capitalization of MUST NOT/SHOULD NOT

* remove redudndant clause
2021-02-05 15:30:06 -08:00
Jay Camp a336acd5b3 Add k8s.node semantic convention (#1390) 2021-02-04 18:48:34 +01:00
Ted Young eeff36dfd4 Add lifecycle statuses to all documents (#1385) 2021-02-04 15:06:46 +01:00
Josh Suereth 47fadaa237 Minor dev-experience fixes for making spec changes. (#1387)
* Minor dev-experience fixes for making spec changes.

* Fixes from review.
2021-01-29 10:07:36 -08:00
Bogdan Drutu 9090bbd736 Update links/github actions after the master -> main rename (#1384)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-27 15:04:40 -08:00
Jay Camp 78875d0fa7 Fix typo of service.id -> service.instance.id (#1383)
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-27 17:28:03 -05:00