From 123a4b3ae6650607ca833cd0d84989482a796d40 Mon Sep 17 00:00:00 2001 From: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:19:17 +0200 Subject: [PATCH 1/8] Update opentelemetry-proto version to v1.3.0 (#4353) --- .gitmodules | 2 +- content-modules/opentelemetry-proto | 2 +- scripts/content-modules/adjust-pages.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 8a9df0e14cfd..40eec36d5b25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -15,7 +15,7 @@ [submodule "content-modules/opentelemetry-proto"] path = content-modules/opentelemetry-proto url = https://github.com/open-telemetry/opentelemetry-proto - otlp-pin = v1.2.0 + otlp-pin = v1.3.0 [submodule "content-modules/semantic-conventions"] path = content-modules/semantic-conventions url = https://github.com/open-telemetry/semantic-conventions diff --git a/content-modules/opentelemetry-proto b/content-modules/opentelemetry-proto index 24d4bc002003..39339ef17721 160000 --- a/content-modules/opentelemetry-proto +++ b/content-modules/opentelemetry-proto @@ -1 +1 @@ -Subproject commit 24d4bc002003c74db7aa608c8e254155daf8e49d +Subproject commit 39339ef177218cc965b8cf863d761775ec668858 diff --git a/scripts/content-modules/adjust-pages.pl b/scripts/content-modules/adjust-pages.pl index 5dec4ff30f1d..4e3bb07f7857 100755 --- a/scripts/content-modules/adjust-pages.pl +++ b/scripts/content-modules/adjust-pages.pl @@ -19,7 +19,7 @@ my $specBasePath = '/docs/specs'; my %versions = qw( spec: 1.32.0 - otlp: 1.2.0 + otlp: 1.3.0 semconv: 1.25.0 ); my $otelSpecVers = $versions{'spec:'}; From bfb25dcfafccc4ad690c7e1c4ce92fa03097ed03 Mon Sep 17 00:00:00 2001 From: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com> Date: Wed, 24 Apr 2024 20:03:13 +0200 Subject: [PATCH 2/8] Update opentelemetry-collector-releases version to v0.99.0 (#4340) --- content/en/docs/collector/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/collector/_index.md b/content/en/docs/collector/_index.md index b14e306f34d2..67679faa9317 100644 --- a/content/en/docs/collector/_index.md +++ b/content/en/docs/collector/_index.md @@ -3,7 +3,7 @@ title: Collector description: Vendor-agnostic way to receive, process and export telemetry data. aliases: [collector/about] cascade: - vers: 0.98.0 + vers: 0.99.0 weight: 10 --- From a3988faaa3a31238f085aaacdf8b0ea3854565b8 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Wed, 24 Apr 2024 20:45:41 +0200 Subject: [PATCH 3/8] Add `token` to checkout and setup-node action pr-actions.yml (#4350) --- .github/workflows/pr-actions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-actions.yml b/.github/workflows/pr-actions.yml index 360287437cf9..616f2b35e84d 100644 --- a/.github/workflows/pr-actions.yml +++ b/.github/workflows/pr-actions.yml @@ -45,6 +45,8 @@ jobs: echo $COMMENT - uses: actions/checkout@v4 + with: + token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} - name: Write start comment run: | @@ -66,6 +68,7 @@ jobs: node-version-file: .nvmrc cache: npm cache-dependency-path: tmp/package-ci.json + token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} - run: | case $PR_ACTION in From 7bff37404c763c4cab37839faf13ee49e27360e2 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:59:33 -0700 Subject: [PATCH 4/8] remove experimental label on stdout metrics export (#4356) Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: Austin Parker --- content/en/docs/languages/go/exporters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/languages/go/exporters.md b/content/en/docs/languages/go/exporters.md index 7214a2b2d615..8fdf2bb451e5 100644 --- a/content/en/docs/languages/go/exporters.md +++ b/content/en/docs/languages/go/exporters.md @@ -31,7 +31,7 @@ func newExporter() (trace.SpanExporter, error) { } ``` -### Console metrics (Experimental) +### Console metrics [`go.opentelemetry.io/otel/exporters/stdout/stdoutmetric`](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/stdout/stdoutmetric) contains an implementation of the console metrics exporter. From fb3fe723af1274775af31d0c34f6bc39216083a0 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 24 Apr 2024 17:06:21 -0400 Subject: [PATCH 5/8] Update opamp-spec (#4354) --- content-modules/opamp-spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content-modules/opamp-spec b/content-modules/opamp-spec index 0360da84c300..950df2967e22 160000 --- a/content-modules/opamp-spec +++ b/content-modules/opamp-spec @@ -1 +1 @@ -Subproject commit 0360da84c3009866b7af702606f7480eb72da6d3 +Subproject commit 950df2967e22526aa553aac1d874ac90b973d140 From b31db042148acf607f3a1ff5e882911d78737afe Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 24 Apr 2024 17:50:37 -0400 Subject: [PATCH 6/8] Drop workarounds from adjust-pages.pl + opamp version pin (#4355) --- .gitmodules | 2 +- scripts/content-modules/adjust-pages.pl | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitmodules b/.gitmodules index 40eec36d5b25..2d0b7d282306 100644 --- a/.gitmodules +++ b/.gitmodules @@ -23,7 +23,7 @@ [submodule "content-modules/opamp-spec"] path = content-modules/opamp-spec url = https://github.com/open-telemetry/opamp-spec - opamp-pin = v0.8.0-5-g0360da8 + opamp-pin = v0.9.0-2-g950df29 [submodule "content-modules/opentelemetry-go"] path = content-modules/opentelemetry-go url = https://github.com/open-telemetry/opentelemetry-go diff --git a/scripts/content-modules/adjust-pages.pl b/scripts/content-modules/adjust-pages.pl index 4e3bb07f7857..3e0f6882d961 100755 --- a/scripts/content-modules/adjust-pages.pl +++ b/scripts/content-modules/adjust-pages.pl @@ -51,12 +51,6 @@ () # TODO: add to front matter of OTel spec file and drop next line: $linkTitle = 'Design Goals' if $title eq 'Design Goals for OpenTelemetry Wire Protocol'; - # TODO: remove once all submodules have been updated in the context of https://github.com/open-telemetry/opentelemetry.io/issues/3922 - $frontMatterFromFile =~ s|: content/en/docs/specs/opamp/|: tmp/opamp/|g; - $frontMatterFromFile =~ s|: content/en/docs/specs/semconv/|: tmp/semconv/docs/|g; - $frontMatterFromFile =~ s|path_base_for_github_subdir:\n from: content/en/docs/specs/otlp/_index.md\n to: specification.md\n||; - $frontMatterFromFile =~ s|github_subdir: docs\n path_base_for_github_subdir: content/en/docs/specs/otlp/|path_base_for_github_subdir: tmp/otlp/|g; - # printf STDOUT "> $title -> $linkTitle\n"; print "linkTitle: $linkTitle\n" if $linkTitle and $frontMatterFromFile !~ /linkTitle: /; print "$frontMatterFromFile" if $frontMatterFromFile; From 8d7c40e38e24436c13680225eb134587f4b13944 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Thu, 25 Apr 2024 01:47:02 +0200 Subject: [PATCH 7/8] Update java libraries page to use intro shortcode (#4317) Signed-off-by: svrnm Co-authored-by: Phillip Carter --- content/en/docs/languages/java/libraries.md | 15 +++++++-------- data/ecosystem/integrations.yaml | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/en/docs/languages/java/libraries.md b/content/en/docs/languages/java/libraries.md index d3192ccd1382..80bf521549f2 100644 --- a/content/en/docs/languages/java/libraries.md +++ b/content/en/docs/languages/java/libraries.md @@ -5,14 +5,13 @@ weight: 40 cSpell:ignore: getenv httpclient println --- -When you develop an app, you use third-party libraries and frameworks to -accelerate your work and avoid duplicated efforts. If you instrument your app -with OpenTelemetry, you don't want to spend additional time on manually adding -traces, logs, and metrics to those libraries and frameworks. - -Use libraries that come with OpenTelemetry support natively or an -[Instrumentation Library](/docs/concepts/instrumentation/libraries/) to generate -telemetry data for a library or framework. +{{% docs/languages/libraries-intro "Java" %}} + +## Use Instrumentation Libraries + +If a library does not come with OpenTelemetry out of the box, you can use +[instrumentation libraries](/docs/specs/otel/glossary/#instrumentation-library) +in order to generate telemetry data for a library or framework. The Java agent for automatic instrumentation includes instrumentation libraries for many common Java frameworks. Most are turned on by default. If you need to diff --git a/data/ecosystem/integrations.yaml b/data/ecosystem/integrations.yaml index 488c10750fcc..515a38682ac2 100644 --- a/data/ecosystem/integrations.yaml +++ b/data/ecosystem/integrations.yaml @@ -18,6 +18,7 @@ url: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html docsUrl: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/opentelemetry.html components: [Java] + native: true # Elasticsearch Java API Client provides a native integration of the OpenTelemetry API oss: true - name: Kubernetes url: https://kubernetes.io/ From adb72161798991fe272251de4f6d9a8bfd8bc799 Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:50:53 -0700 Subject: [PATCH 8/8] add console log export details for go (#4357) Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: Patrice Chalin Co-authored-by: Phillip Carter --- content/en/docs/languages/go/exporters.md | 21 ++++++++++++++++++++- static/refcache.json | 4 ++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/content/en/docs/languages/go/exporters.md b/content/en/docs/languages/go/exporters.md index 8fdf2bb451e5..499181f80a71 100644 --- a/content/en/docs/languages/go/exporters.md +++ b/content/en/docs/languages/go/exporters.md @@ -3,7 +3,7 @@ title: Exporters aliases: [exporting_data] weight: 50 # prettier-ignore -cSpell:ignore: otlpmetric otlpmetricgrpc otlpmetrichttp otlptrace otlptracegrpc otlptracehttp promhttp stdouttrace +cSpell:ignore: otlpmetric otlpmetricgrpc otlpmetrichttp otlptrace otlptracegrpc otlptracehttp promhttp stdoutlog stdouttrace --- {{% docs/languages/exporters/intro go %}} @@ -49,6 +49,25 @@ func newExporter() (metric.Exporter, error) { } ``` +### Console logs (Experimental) {#console-logs} + +The +[`go.opentelemetry.io/otel/exporters/stdout/stdoutlog`](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/stdout/stdoutlog) +package contains an implementation of the console log exporter. + +Here's how you can create an exporter with default configuration: + +```go +import ( + "go.opentelemetry.io/otel/exporters/stdout/stdoutlog" + "go.opentelemetry.io/otel/sdk/log" +) + +func newExporter() (log.Exporter, error) { + return stdoutlog.New() +} +``` + ## OTLP To send trace data to an OTLP endpoint (like the [collector](/docs/collector) or diff --git a/static/refcache.json b/static/refcache.json index 5ce0ab8939a6..64c8d0830186 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -6875,6 +6875,10 @@ "StatusCode": 200, "LastSeen": "2024-01-18T19:07:44.890589-05:00" }, + "https://pkg.go.dev/go.opentelemetry.io/otel/exporters/stdout/stdoutlog": { + "StatusCode": 200, + "LastSeen": "2024-04-24T13:46:14.851022-07:00" + }, "https://pkg.go.dev/go.opentelemetry.io/otel/exporters/stdout/stdoutmetric": { "StatusCode": 200, "LastSeen": "2024-01-30T15:25:21.196671-05:00"