Commit Graph

46 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
Patrice Chalin c11ac88831 [editorial] specification/metrics/semantic_conventions/rpc: add missing markdown link definition (#2082) 2021-10-29 15:29:53 +02:00
alrex e5aa93af07 minor rephrasing in traces/metrics semantic conventions (#2048) 2021-10-21 15:37:43 +02:00
Yuri Shkuro d9fbb6f32c Add Makefile target to auto-generate TOC via markdown-toc (#2020) 2021-10-15 15:04:22 +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
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
Jakub Malinowski 450410f7f6 Rename Metrics labels to attributes (#1775) 2021-07-01 00:11:54 +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
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
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
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
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
Ted Young eeff36dfd4 Add lifecycle statuses to all documents (#1385) 2021-02-04 15:06:46 +01:00
Ben Hastings 4e3733c384 Update openmetrics-guidelines.md (#1376)
fixed typo in name and label keys section - replaced "t" for correct spelling "forbids"
2021-01-26 15:57:03 +01:00
Sergey Kanzhelev 4f13d9c80b regenerated tables after https://github.com/open-telemetry/build-tools/pull/24 (#1342) 2021-01-14 00:04:10 -08:00
Aaron Abbott d181135d6b update system metrics with changes from collector (#1308)
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-11 08:36:03 -08:00
Bogdan Drutu 837f4898c0 Remove support to allow_different_nesting, from markdownlint (#1248)
* Remove support to allow_different_nesting, from markdownlint

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

* Update specification/metrics/semantic_conventions/README.md

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

* Run markdown-toc

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

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-30 06:33:56 -08:00
Josh Suereth 9e9364b0da Provide semantic conventions for RPC metrics (#1162)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-26 18:06:38 +01:00
Justin Foote 3f358caa6b Add OpenMetrics guidance (#1154)
* Add OpenMetrics interop guidelines

* Add Prometheus Receiver guidelines; reference collector design

* Add OpenMetrics guidelines to changelog

* Add work in progress note to OpenMetrics guidance

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-11-17 09:15:45 -08:00
Justin Foote 3d64f93fc6 Add metric name pluralization guidelines (#1109) 2020-11-10 20:24:03 +01:00
Aaron Abbott 3146dc01dc System metrics semantic conventions (#937)
* System metrics semantic conventions

Conventions from [OTEP
119](https://github.com/open-telemetry/oteps/pull/119)

* change process count to UpDownSumObserver

* fix system.cpu.utilization, use better example

* first several comments

* add description columns, update units to UCUM

* markdown-toc

* clarify OS process level metrics

* clarify load average exapmle

* move general conventions + OTEP 108 into README.md

* renamed swap -> paging

* add addition fs labels

* fix links

* fix link

* Update specification/metrics/semantic_conventions/README.md

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

* Update specification/metrics/semantic_conventions/README.md

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>

* fix tigran comments

* add disk io_time and operation_time

* add descriptions/footnotes for dropped packets and net errors

* lint, more info for net dropped packets/errors

* "dropped_packets" -> "dropped"

* Apply suggestions from James' code review

Co-authored-by: James Bebbington <jbebbington@google.com>

* comments from James' code review

* clarify windows perf counter

* Update specification/metrics/semantic_conventions/README.md

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>

* reflow text

Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
Co-authored-by: James Bebbington <jbebbington@google.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-10-15 12:07:07 -07:00
Michael Lavers 596552eb0b Fix HTTP Metric Semantics Typos (#1039) 2020-09-30 17:19:50 +02:00
Armin Ruech f6cd4c2e1a Remove obsolete `http.status_text` from semantic conventions (#972) 2020-09-22 11:49:09 +02:00
gfuller1 c2a9e386a4 Add semantic conventions for HTTP metrics (#739)
* add http metric label spec

* typo

* update attribute locations and clarify which to inlcude, alter and exclude

* add metric instruments list

* simplify intro sections, add requirement columns, clarify labels, fix normative directives and more

* fix HTTP strings

* add count metric instrument and shorten duration metric name

* remove dependency on http.md, add more notes and examples and general cleanup

* replace span.kind with type

* add missing labels and cleanup links

* substitution->alternatives and remove section not needed

* make request count metric instrument plural

* formatting

* clarify type column

* update intro and fix units

* breakout metric instrument table

* remove http.route since it is the same as http.target after http.target is simplified

* update net labels to link to definition

* add lowercase requirement to http.scheme

* formatting

Co-authored-by: gfuller <gfuller@newrelic.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-30 08:43:14 -07:00
Armin Ruech 79707b7df9 Link from trace (and metric) semantic conventions to resources (#603) 2020-05-14 10:11:11 -07:00
Bogdan Drutu 0dceae42ab Move specifications into sub-directories per signal (#546)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-06 17:25:53 -04:00