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 diff --git a/.gitmodules b/.gitmodules index 8a9df0e14cfd..2d0b7d282306 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 @@ -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/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 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/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 --- diff --git a/content/en/docs/languages/go/exporters.md b/content/en/docs/languages/go/exporters.md index 7214a2b2d615..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 %}} @@ -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. @@ -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/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/ diff --git a/scripts/content-modules/adjust-pages.pl b/scripts/content-modules/adjust-pages.pl index 5dec4ff30f1d..3e0f6882d961 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:'}; @@ -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; 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"