Commit Graph

354 Commits

Author SHA1 Message Date
Liudmila Molkova ace15c86b6 Fix typo in http semantic conventions (#2896) 2022-10-20 12:36:13 -07:00
Andrzej Stencel a2e925d05f Add `process.paging.faults` metric to semantic conventions (#2827) 2022-10-18 15:16:37 -07:00
Mateusz Rzeszutek 34093ed204 Clarify the HTTP client `http.retry_count` spec (#2743) 2022-10-18 10:46:16 -07:00
Hao Tu 7c53a4e646 add daemon attribute to jvm threads metric (#2828) 2022-10-06 23:46:02 -07:00
Glenn Oppegard 7cc726cb55 Link to RPC in Metrics Semantic Conventions (#2831) 2022-10-06 10:27:20 -07:00
Trask Stalnaker 99e7370387 Changes to messaging.kafka.max.lag (#2837) 2022-10-04 17:02:59 -07:00
jack-berg bfb8bd7a27 Fix inconsistent metric usage of http.target (#2818) 2022-10-03 11:16:31 -07:00
Joao Grassi e2856b8feb Make messaging context propagation requirements explicit (#2750) 2022-09-30 09:05:54 -07:00
Mikel Blanchard 3ce713d52b [Logs] Add semantic conventions for writing exceptions (#2819) 2022-09-29 21:38:40 -07:00
Evan Bradley ad82c3556e Add additional process metrics to the metrics semantic conventions (#2706)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-09-21 19:24:12 +02:00
Santosh Cheler c359bd372c Add mobile and language semconv for browser resource (#2761) 2022-09-20 21:19:02 +02:00
Reiley Yang 8db8131112 Fix nits: incorrect unit for CPU utilization (#2807) 2022-09-16 10:49:58 -07:00
Georg Pirklbauer 090f94ceb0 fix typo (#2803) 2022-09-15 08:32:40 -07:00
Tigran Najaryan c01963c823 Revert #2617, #2675, #2688: "add metrics to replace metrics with `direction`" (#2748)
Please review this carefully. It is not an automatic reverting, I had to fix merge conflicts manually and may have made mistakes, so a thorough review is needed.

Changes:
- This reverts https://github.com/open-telemetry/opentelemetry-specification/pull/2617. We are reverting it until we are certain how to resolve issue #2726
- Also reverts the corresponding schema file changes done in https://github.com/open-telemetry/opentelemetry-specification/pull/2688
- Also reverts https://github.com/open-telemetry/opentelemetry-specification/pull/2675

~Note that this does not revert https://github.com/open-telemetry/opentelemetry-specification/pull/2675 which I believe to still be valid. If you think otherwise please speak.~ [UPDATE: discussed in Spec SIG and decided to revert 2675 too].

Contributes to https://github.com/open-telemetry/opentelemetry-specification/issues/2726
2022-09-02 10:00:11 -04:00
Santosh Cheler 2503e776b0 Events and logs api (#2676)
This PR is a follow up to the OTEP [Events and Logs API](https://github.com/open-telemetry/oteps/blob/main/text/0202-events-and-logs-api.md). It describes the specification for an Events and Logs API and also defines semantic conventions for attributes to be used for Events that are represented using Log Records.

For non-trivial changes, follow the [change proposal
process](../CONTRIBUTING.md#proposing-a-change) and link to the related issue(s)
and/or [OTEP(s)](https://github.com/open-telemetry/oteps), update the
[`CHANGELOG.md`](../CHANGELOG.md), and also be sure to update
[`spec-compliance-matrix.md`](../spec-compliance-matrix.md) if necessary.


Related [OTEP(s)](https://github.com/open-telemetry/oteps) #

[Events and Logs API](https://github.com/open-telemetry/oteps/blob/main/text/0202-events-and-logs-api.md)
2022-08-31 14:05:37 -04:00
Antoine Toulme db65960210 Add process.threads (#2705) 2022-08-17 18:57:03 +02:00
sharp-pixel c26020299c Add OpenSearch in the database group (#2718) 2022-08-11 20:40:03 +02:00
Bertrand Martin 3d7846dc16 Add hardware-metrics to semantic conventions (#2518)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-08-09 16:51:54 +02:00
Alex Boten 4ee53745d8 split system.network.connections into TCP and UDP metrics (#2675)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-08-05 17:44:58 +02:00
David Mirza fca9616e41 add process.parent_pid attribute (#2691)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-07-28 16:54:58 +02:00
Liudmila Molkova 298c566cf9 Remove alternative attribute sets from HTTP semantic conventions (#2469) 2022-07-27 11:31:21 -07:00
Alex Boten 7fcd293974 add definition for state attribute of system.network.connections (#2663) 2022-07-18 19:29:38 +02:00
Evan Bradley a384ba1ec3 Make GitHub links relative for links to specification documents (#2669)
Co-authored-by: Evan Bradley <evan-bradley@users.noreply.github.com>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-07-18 15:52:35 +02:00
jack-berg fc9219bcfe Add JVM buffer pool semantic conventions (#2650) 2022-07-13 10:11:24 -07:00
Liudmila Molkova 216beba6cc Define net.sock attributes and clarify logical net.peer|host.name attributes (#2614) 2022-07-13 10:01:44 -07:00
Patrice Chalin 067a2b88b4 [editorial] Add note to Hugo front matter (#2651) 2022-07-08 09:12:12 +02:00
jack-berg 38257767a0 Add metrics for http request and response size (#2588) 2022-06-30 13:37:23 -05:00
jack-berg 2b6b31f221 Add rpc.grpc.status_code attribute to rpc metric semantic conventions (#2604) 2022-06-30 09:11:39 -05:00
Alex Boten 289bdbb7e0 add metrics to replace metrics with `direction` (#2617) 2022-06-28 08:57:58 -07:00
Liudmila Molkova 31a6ecd386 FaaS conventions: make faas.document.time and faas.time attributes recommended (#2627) 2022-06-28 16:38:13 +02:00
Alex Boten a280dd8b2e Add network metrics to process semantic conventions (#2556) 2022-06-22 21:46:24 -07:00
Patrice Chalin 5c19b4e868 [editorial] Ensure metrics subsections have a README (#2629) 2022-06-22 21:31:40 -07:00
Liudmila Molkova d27ed53892 cloudevents: relax requirement level for type and version (#2618) 2022-06-21 13:29:53 +02:00
Lauri Tulmin 9448396526 Add semantic conventions for GraphQL (#2456)
Add semantic conventions for GraphQL span name and attributes.

Related issues #1670
2022-06-15 15:09:08 -04:00
Liudmila Molkova 3f7b7d02f9 Adopt attribute requirement levels in semantic conventions (#2594) 2022-06-14 08:02:55 -07:00
Tigran Najaryan 48b522e7f3 Clarify when "count" is used instead of pluralization (#2613) 2022-06-13 11:33:49 -07:00
Johannes Tax 35b2b57587 Add semantic convention attributes for capturing the application layer protocol (#2602) 2022-06-10 19:09:54 -07:00
jack-berg 2681d9c7dc Rename p.r.jvm.memory.max to p.r.jvm.memory.limit (#2605) 2022-06-10 08:44:42 -05:00
Reiley Yang 22406e7c05 fix typo (#2595) 2022-06-01 09:02:17 -07:00
Jonatan Ivanov 8a3a853730 Add semantic conventions for jvm cpu metrics (#2292) 2022-05-26 20:29:02 -07:00
Carlos Alberto Cortez 5f1d85a12f Add remaining Kafka and Kafka consumer metrics. (#2536) 2022-05-25 20:32:33 -07:00
Bryan Naegele 4fae05c1c4 Remove outdated note (#2540) 2022-05-24 11:51:58 -07:00
Martin Kuba 6a613c54e4 Add Resource browser attributes (#2353) 2022-05-19 10:57:41 -07:00
jack-berg a87e50d47d Refactor jvm classes semantic conventions (#2550) 2022-05-18 23:47:26 -07:00
Christian Neumüller 7d2a40e537 Azure FaaS conventions. (#2502) 2022-05-13 12:01:20 -07:00
Trask Stalnaker 64e8e1c8fb Update kafka.md (#2537) 2022-05-12 20:57:22 -07:00
Carlos Alberto Cortez 5df0912bb2 Add prefix to Kafka metrics. (#2528) 2022-05-11 17:31:15 -05:00
Carlos Alberto Cortez e4e600716b Initial addition of Kafka metrics. (#2485) 2022-05-09 14:12:28 -07:00
James Bunch aa58aa8611 Specify how to obtain a Ruby thread's id (#2508) 2022-05-05 21:32:47 -07:00
Benoit 9410cb6131 Fix a typo (#2523) 2022-05-04 16:54:00 +02:00
Rauno Viskus 53ba5dd524 Map SunOS to `solaris` for `os.type` resource attribute (#2509) 2022-04-27 14:12:22 -07:00
ladd 6d6aa8df6e Add HTTP/3 (#2507) 2022-04-27 14:09:05 -07:00
Carlos Alberto Cortez 5115a5dc87 Update JVM metrics with JMX Gatherer values. (#2478) 2022-04-22 09:51:25 -05:00
Mateusz Rzeszutek eb7c318db3 Database connection pool metrics semantic conventions (#2273) 2022-04-18 17:44:41 -07:00
Fabian Stäber fc23f00281 Allow all metric conventions to be either synchronous or asynchronous. (#2458) 2022-04-08 11:14:29 -07:00
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
Trask Stalnaker 4d510fbc04 Add process.cpu.utilization metric (#2436)
* Add process.cpu.utilization

* Update with PR #

* fix, and more clarity

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-03-30 08:08:22 -07:00
Trask Stalnaker bf7a606901 Clarify system.cpu.utilization metric definition (#2435) 2022-03-28 18:57:03 +02: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
legendecas 2b026d81db Define JavaScript runtimes semantic conventions (#2290) 2022-03-02 16:18:40 +01:00
Alan West 9c7d6d2ace nit: Pluralize "measures" (#2391)
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2022-03-01 12:50:52 -08:00
Patrice Chalin e16e1f5952 [editorial] Remove repeated sentence in trace semconv (#2352)
Context: #2236, at https://github.com/open-telemetry/opentelemetry-specification/pull/2236/files#r807345305
2022-02-15 14:04:05 -08:00
Patrice Chalin a358a31b2a [editorial]Add toc/tocstop to Logs pages (#2321) 2022-02-09 15:24:45 -05:00
Armin Ruech 8c9de82151 Pin markdownlint-cli version and apply fixes (#2320)
* Pin markdownlint-cli version

* Apply markdownlint fixes
2022-02-07 10:24:33 -08:00
Carlos Alberto Cortez d62ad18c75 Add opentracing.ref_type semantic convention. (#2297) 2022-01-31 11:14:02 -06:00
Daniel Jaglowski 4f6af3ae6f Change golang namespace to 'go', rather than 'gc' (#2262)
* Change golang namespace to 'go', rather than 'gc'

* Specify common process.runtime.* attributes for Go

* Add link to runtime.Compiler

* Remove static descriptions

* Add table of descriptions for golang runtime names

* Add context to go examples

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2022-01-27 07:21:21 +00:00
jack-berg c76f9ddb7c Add jvm memory runtime metrics (#2272)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2022-01-26 18:55:47 +01:00
Daniel Jaglowski 7a2a71849f Add semantic conventions for process metrics (#2061)
Resolves #1817 

Prerequisite for [(collector) #4232](https://github.com/open-telemetry/opentelemetry-collector/issues/4232)
2022-01-25 10:49:43 -05:00
Trask Stalnaker 225d780d8f Add placeholder for jvm metrics (#2257) 2022-01-13 23:29:09 -06:00
Armin Ruech 5799c847fb Add link from FaaS trace to resource attributes (#2256) 2022-01-10 18:00:53 +00: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
Marc Pichler fccbbba116 Clarify integer count instrument units (#2210) 2021-12-14 18:09:19 +00:00
Tigran Najaryan 7652ed48fa Prohibit usage of retired names in semantic conventions (#2191)
* Prohibit usage of retired names in semantic conventions

This change adds a prohibition clause that requires that no old
metric or attribute name is used for a new attribute.

This is important to ensure reversibility of schema transformation
(converting from a new version to an old version of schema).

Without this restriction the following is possible:

Schema version 1. Attribute A exists.
Schema version 2. Attribute A is renamed to B. Appropriate schema file is created.
Schema version 3. Attribute A is introduced (a completely different new attribute).

Now attempting to go from Version 3 to version 1 is impossible since it requires
renaming B to A (for the change in version 2), but a different attribute A already exists.

* Fix based on comments

* Add changelog entry

Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>
2021-12-13 10:04:41 -08:00
Marc Pichler d42c6f54a9 Use UCUM units in Metrics Semantic Conventions (#2199) 2021-12-13 15:45:26 +01:00
Anuraag Agrawal 688c0e9ea4 Rename extra dimensions to extra attributes (#2162)
* Rename extra dimensions to extra attributes

* Moar

Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2021-12-10 12:12:10 -08:00
guschin 3c380cadeb Update link to Prometheus Receiver Design Document (#2211)
since it was moved to opentelemetry-collector-contrib repo

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
2021-12-10 19:56:59 +00:00
Daniel Jaglowski 99fcd04b06 Align runtime metric and resource namespaces (#2112)
A 'process.runtime' namespace is currently defined in the resource
semantic conventions. The metric semantic conventions suggest that
runtime metrics use a 'runtime' namespace. Since the runtime metrics
are directly related to the runtime resources, they ought to share a
common namespace.

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
2021-11-18 14:36:45 +00:00
Daniel Jaglowski 76b14b16c2 Add semantic conventions for log media attributes (#2022)
Logs are transmitted via several common media, such as files and
iostreams. This PR establishes semantic conventions for describing the
file or iostream from which a log was read. Notably, these attributes
are not resource attributes, as the medium used to tranmit a log is not
considered to be the originator of the log.
2021-11-09 18:12:07 -05: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
Patrice Chalin c543bb9036 [editorial] trace/semantic_conventions/span-general: add missing anchor closing tag (#2083)
Add a missing `</a>` closing tag for the `<a name="nettransport-attribute">` element. Without the closing tag, then entire page after that is taken as content of the anchor, which isn't correct and it breaks table formatting on the website.
2021-10-29 17:06:56 +02:00
Patrice Chalin c11ac88831 [editorial] specification/metrics/semantic_conventions/rpc: add missing markdown link definition (#2082) 2021-10-29 15:29:53 +02:00
Patrice Chalin b008a3a230 trace/semantic_conventions/http: add missing markdown link definition (#2081)
Closes #2079
2021-10-29 15:24:31 +02:00
Patrice Chalin 9f3ad38a9a URL anchor fix: `##` -> `#` (#2075) 2021-10-28 19:22:43 +02:00
Wolfgang Ziegler de1b890989 Add IBM z/Architecture (#2055) 2021-10-28 14:33:18 +02:00
alrex e5aa93af07 minor rephrasing in traces/metrics semantic conventions (#2048) 2021-10-21 15:37:43 +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
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
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
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
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
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
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
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
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
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
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
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