Commit Graph

58 Commits

Author SHA1 Message Date
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
Armin Ruech 561ad88d7f Update semantic conventions to distinguish int from double (#1550) 2021-03-18 17:06:10 +01: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
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
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
William Armiros 28b6c5aa88 Lowercased ECS launch types (#1339)
* lowercased ECS launch types

* updated changelog

* updated tables with 2.1 tool

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-27 12:04:10 -08:00
Wolfgang Ziegler 2dc7db5ab3 Update faas.yaml (#1326)
Fix wording.
2021-01-07 12:34:51 -05:00
William Armiros 27569327dc added cloud.infrastructure_service attribute to resource spec (#1112)
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-01-07 13:16:04 +01:00
Anuraag Agrawal 9a9441f869 Fix typo in HSQLDB convention and add GEODE (#1321)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-01-07 00:26:08 -08:00
Wolfgang Ziegler 6fd35a389e Introduce resource attribute `faas.max_memory` (#1296) 2021-01-04 23:42:01 +01:00
Carlos Alberto Cortez 4df1e98ddc Define the fallback case for service.name (#1269) 2020-12-14 16:59:35 +01:00
Frank Spitulski 84a9ddfe9a Add more attributes for Cassandra to database semantic conventions (#1217)
* feat(cassandra): more tags

* Update semantic_conventions/trace/database.yaml

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

* Update semantic_conventions/trace/database.yaml

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

* Update semantic_conventions/trace/database.yaml

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

* incorporate changes

* Update semantic_conventions/trace/database.yaml

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

* incorporate feedback

* additional feedback

* revert unchanged file

* Update semantic_conventions/trace/database.yaml

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

* Update specification/trace/semantic_conventions/database.md

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

* split cassandra to separate table

* Update specification/trace/semantic_conventions/database.md

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-12-09 14:23:23 -08:00
Mateusz Rzeszutek 0c0bae3f6d Add missing thread.* attributes to semconv yaml file (#1262)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-26 17:53:19 +01:00
William Armiros 3df4ec410c Add semantic conventions for cloud provider-specific resource attributes (#1099) 2020-11-25 03:17:42 +01:00
Giovanni Liva 85daff3954 Yaml files for process semantic convention (#1227)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-24 14:18:10 +01:00
Vladimir Šor f2bc1ad6bd Add YAML definition for code-related semantic attributes. (#1229)
* Introduce code-related semantic attributes.

* Generate table for `code` semantic attributes from the yaml spec.

* Update semantic_conventions/trace/general.yaml

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* Update semantic_conventions/trace/general.yaml

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* Generate table for `code` semantic attributes from the yaml spec.

* Revert line-endings-only change

* Better function name for code.function example.

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

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-19 18:55:10 +01:00
Justin Foote 2cd9fbb859 Database semantic conventions: Add db.table, allow SQL keyword as db.operation (#1141)
* Add db.table to database semantic conventions

* Fix spacing in db semantic conventions

* Move db.table to SQL-specific call level attributes

* Clarify instructions for setting db.operation to a SQL keyword

* Specify that db.sql.table MUST NOT be set when not applicable

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

* Add db.table and db.operation to CHANGELOG

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-09 19:47:40 +01:00
Yusuke Tsutsumi ce1a267d21 Updating gRPC status semantic conventions (#1156)
* Updating gRPC status semantic conventions

Since the simplification of trace status codes,
they no longer align with gRPC.

Clarifying the expected status code field for gRPC, as
well as the mappings between gRPC and OpenTelemetry status.

* Adding changelog entry

* Addressing feedback

Clarifying that gRPC spans should include the status code number,
rather than leave it ambiguous.

Adding gRPC semantic conventions in the yaml files to reflect these
changes.

* adding trailing whitespace

* Apply suggestions from code review

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* addressing feedback

Ran table-generation to ensure that semantic conventions are added.

Removed tags for rpc.grpc yaml for now (not explicitly used).

* Update specification/trace/semantic_conventions/rpc.md

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

* Addressing feedback

re-generating TOC with markdown-toc

There was a conflict with sub-headings matching the same string. As such
qualified all headings.

* Switching gRPC status_code type to enum

gRPC's status_code code is better expressed as an enum.

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-06 15:06:46 -08:00
Christian Neumüller aa14918823 Fix absolute links to spec (#1192)
* Remove absolute links where possible.

* Work around semantic conventions.

* Docfx.

* Fix YAML.

* More docfx.
2020-11-04 12:29:48 -08:00
Ken Finnigan 8b6a13ad16 Resolve semantic inconsistencies for non traditional messaging (#1027)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
2020-10-21 15:28:20 +02:00
Giovanni Liva 98d2cc53f8 Add yaml for FaaS trace attributes (#1054)
Co-authored-by: Christian Neumüller <christian.neumueller@dynatrace.com>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-10-19 18:36:54 +02:00
Josh Suereth b48cb0cff0 Fix typo in cloud resource convention. (#1097)
* Fix type in cloud convention.

* Run auto-md tool, cool!
2020-10-15 09:53:56 -07:00
Giovanni Liva d07e2e8431 Add yaml for FaaS and Host resource attributes (#1056)
* Add yaml for FaaS and Host resource attributes

* Address feedback

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-10-12 17:02:45 +02:00
Giovanni Liva f474696cfd Add yaml for K8s and OS resource attributes (#1057) 2020-10-09 16:04:18 +02:00
Giovanni Liva 31ec13ca2d Add yaml for Cloud, Container, and Deployment resource attributes (#1055) 2020-10-09 16:02:07 +02:00
Giovanni Liva 9315f21f9d Add telemetry and service yaml (#1026) 2020-09-30 17:16:04 -07:00