diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e0dc166e08..3d01361b7a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v5 + - uses: actions/stale@v6 with: stale-issue-message: "This issue was marked as stale due to lack of activity." days-before-issue-stale: 60 diff --git a/CHANGELOG.md b/CHANGELOG.md index 26195e04bd..6a5e5af31e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,11 +15,42 @@ Increment the: ## [Unreleased] +## [1.6.1] 2022-09-22 + * [BUILD] Upgrade opentelemetry-proto to v0.19.0 [#1579](https://github.com/open-telemetry/opentelemetry-cpp/pull/1579) * [METRICS EXPORTER] Add `OtlpGrpcMetricExporterFactory` and `OtlpHttpMetricExporterFactory`. [#1606](https://github.com/open-telemetry/opentelemetry-cpp/pull/1606) -* [METRICS EXPORTER] Add `OtlpGrpcClient` [#1606](https://github.com/open-telemetry/opentelemetry-cpp/pull/1606) -* [BUILD] Fix header only api singletons [#1604](https://github.com/open-telemetry/opentelemetry-cpp/pull/1604) +* [SEMANTIC CONVENTIONS] Upgrade to version 1.13.0 [#1624](https://github.com/open-telemetry/opentelemetry-cpp/pull/1624) +* [BUILD] Fixes span creation benchmark issue. [#1622](https://github.com/open-telemetry/opentelemetry-cpp/pull/1622) +* [BUILD] Fix more build warnings (#1616) [#1620](https://github.com/open-telemetry/opentelemetry-cpp/pull/1620) +* [SDK gRPC]: Fix out-of-bounds access of string_view in GrpcClientCarrier in + the example + [#1619](https://github.com/open-telemetry/opentelemetry-cpp/pull/1619) +* [EXPORTER ETW] Add Trace flags in SpanContext [#1618](https://github.com/open-telemetry/opentelemetry-cpp/pull/1618) +* [SDK] resource sdk: Update Resource::Merge function docs [#1615](https://github.com/open-telemetry/opentelemetry-cpp/pull/1615) +* [BUILD] Fix build warnings [#1613](https://github.com/open-telemetry/opentelemetry-cpp/pull/1613) +* [API BUILD] Fix header only api singletons (#1520) [#1604](https://github.com/open-telemetry/opentelemetry-cpp/pull/1604) +* [METRICS SDK] Fix default value of + `OtlpHttpMetricExporterOptions::aggregation_temporality`. + [#1601](https://github.com/open-telemetry/opentelemetry-cpp/pull/1601) +* [METRICS EXAMPLE] Example for OTLP gRPC exporter for Metrics. [#1598](https://github.com/open-telemetry/opentelemetry-cpp/pull/1598) +* [SDK] Fix `LoggerContext::Shutdown` and tsan of `OtlpHttpClient` [#1592](https://github.com/open-telemetry/opentelemetry-cpp/pull/1592) +* [METRICS SDK] Fix 1585 - Multiple cumulative metric collections without + measurement recording. + [#1586](https://github.com/open-telemetry/opentelemetry-cpp/pull/1586) +* [BUILD] metrics warnings [#1583](https://github.com/open-telemetry/opentelemetry-cpp/pull/1583) +* [METRICS SDK] Fix ObservableInstrument::RemoveCallback [#1582](https://github.com/open-telemetry/opentelemetry-cpp/pull/1582) +* [SDK] Add error log when getting a http error code [#1581](https://github.com/open-telemetry/opentelemetry-cpp/pull/1581) +* [EXPORTER] ETW Exporter - Add support for Sampler and ID Generator [#1547](https://github.com/open-telemetry/opentelemetry-cpp/pull/1547) + +Notes: + +While [OpenTelemetry semantic +convention](https://github.com/open-telemetry/opentelemetry-specification/tree/main/semantic_conventions) +is still in experimental state, PR +[#1624](https://github.com/open-telemetry/opentelemetry-cpp/pull/1624) upgraded +it from 1.12.0 to 1.13.0 which **MAY** break the instrumentation library. Please +update the semantic convention in instrumentation library is needed. ## [1.6.0] 2022-08-15 diff --git a/README.md b/README.md index 72f0f691a4..3cf157687d 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ For edit access, get in touch on ([@open-telemetry/cpp-approvers](https://github.com/orgs/open-telemetry/teams/cpp-approvers)): * [Josh Suereth](https://github.com/jsuereth), Google +* [Marc Alff](https://github.com/marcalff), Oracle * [Reiley Yang](https://github.com/reyang), Microsoft * [WenTao Ou](https://github.com/owent), Tencent diff --git a/api/include/opentelemetry/trace/semantic_conventions.h b/api/include/opentelemetry/trace/semantic_conventions.h index 2334ced67b..93bb86d789 100644 --- a/api/include/opentelemetry/trace/semantic_conventions.h +++ b/api/include/opentelemetry/trace/semantic_conventions.h @@ -33,7 +33,7 @@ namespace SemanticConventions /** * The URL of the OpenTelemetry schema for these keys and values. */ -static constexpr const char *SCHEMA_URL = "https://opentelemetry.io/schemas/1.12.0"; +static constexpr const char *SCHEMA_URL = "https://opentelemetry.io/schemas/1.13.0"; /** * The full invoked ARN as provided on the {@code Context} passed to the function ({@code @@ -355,18 +355,45 @@ static constexpr const char *FAAS_INVOKED_REGION = "faas.invoked_region"; static constexpr const char *NET_TRANSPORT = "net.transport"; /** - * Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6) + * Application layer protocol used. The value SHOULD be normalized to lowercase. */ -static constexpr const char *NET_PEER_IP = "net.peer.ip"; +static constexpr const char *NET_APP_PROTOCOL_NAME = "net.app.protocol.name"; /** - * Remote port number. + * Version of the application layer protocol used. See note below. + * + *

Notes: +

*/ -static constexpr const char *NET_PEER_PORT = "net.peer.port"; +static constexpr const char *NET_APP_PROTOCOL_VERSION = "net.app.protocol.version"; + +/** + * Remote socket peer name. + */ +static constexpr const char *NET_SOCK_PEER_NAME = "net.sock.peer.name"; + +/** + * Remote socket peer address: IPv4 or IPv6 for internet protocols, path for local communication, etc. + */ +static constexpr const char *NET_SOCK_PEER_ADDR = "net.sock.peer.addr"; /** - * Remote hostname or similar, see note below. + * Remote socket peer port. + */ +static constexpr const char *NET_SOCK_PEER_PORT = "net.sock.peer.port"; + +/** + * Protocol address + * family which is used for communication. + */ +static constexpr const char *NET_SOCK_FAMILY = "net.sock.family"; + +/** + * Logical remote hostname, see note below. * *

Notes: