Commit Graph

1777 Commits

Author SHA1 Message Date
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
Tigran Najaryan b9ecdece9a Add schema file checks using the new tool (#2386)
This uses the recently added schemas tool [0] to do a bit more
comprehensive checks of schema files. More checks can be added in
the future.

0 - https://github.com/open-telemetry/build-tools/pull/83
2022-03-09 11:03:42 -05: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
Patrice Chalin 28af8c1e0b [linters] Recommend latest LTS version of Node (#2401) 2022-03-03 19:52:45 -05: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
Patrice Chalin cf973d47fd [linters] Install tools based on versions in package.json (#2323)
* [editorial] Use `npx` to run npm cmds, not hardcoded paths

* Update Makefile based on feedback

* Use --no-install option for npx

* Add `npm install` to markdown-check workflows

* Pin markdownlint-cli at 0.31.0

* Run `npm install` as a separate workflow step

* Use name 'install dependencies' for npm install cmd

* CONTRIBUTING: clarify that you install the tools once

* make: add `install-tools` as dependency to `all`

* Add install check line to `mardown*` targets

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2022-03-01 18:11:33 -05: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
Tigran Najaryan f6df784c29 Add `make all` target to test changes locally (#2344)
Make all performs roughly the same steps as the alrady existing github actions. The only
exception is yamllint which I was not able to make work on my Mac after quite some time
and had to skip. If anyone knows how to make it work on a Mac please submit a follow-up PR.

Note that the checks can run in parallel to speed up, e.g. `make -j4`.
2022-02-15 12:48:56 -05:00
Carlos Alberto Cortez d88bf5ff7d Release v1.9.0 (#2329) 2022-02-14 09:26:16 -06:00
Patrice Chalin a358a31b2a [editorial]Add toc/tocstop to Logs pages (#2321) 2022-02-09 15:24:45 -05:00
Patrice Chalin 8da26373a6 [editorial] Generate ALL_DOCS using find only, no grep -v (#2322) 2022-02-08 08:25:48 -08: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
Tigran Najaryan f40b775573 Add issue triage workflow (#2142)
* Add issue triage workflow

Resolves https://github.com/open-telemetry/opentelemetry-specification/issues/1962

I also looked at Kubernetes triage workflow:
https://github.com/kubernetes/community/blob/master/contributors/guide/issue-triage.md
I ended up not using it because it is significantly more complicated
and requires a usage of tools. However, we may still decide to replicate
what Kubernetes does if this propsal proves to be inefficient.
2021-12-16 05:50:15 +01: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
Patrice Chalin 6cafcceade [editorial] Ensure all ToCs are generated using markdown-toc (#2146) 2021-11-24 15:57:38 +01: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
Yuri Shkuro 40b22dc04e Simplify Makefile and ci-checks (#2026) 2021-10-20 13:24:14 +00: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