Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Java docs #844

Merged
merged 1 commit into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content-modules/opentelemetry-java
Submodule opentelemetry-java updated 88 files
+1 −1 .github/workflows/build-tracecontext-testsuite.yml
+1 −1 .github/workflows/codeql-analysis.yml
+1 −1 .github/workflows/gradle-wrapper-validation.yml
+2 −2 .github/workflows/main-build.yml
+3 −3 .github/workflows/patch-release-build.yml
+1 −1 .github/workflows/pr-build.yml
+1 −1 .github/workflows/pr-examples-build.yml
+1 −1 .github/workflows/release-build.yml
+1 −1 api/all/src/main/java/io/opentelemetry/api/baggage/ImmutableBaggage.java
+27 −12 api/all/src/main/java/io/opentelemetry/api/baggage/propagation/Parser.java
+373 −0 api/all/src/main/java/io/opentelemetry/api/baggage/propagation/PercentEscaper.java
+7 −2 api/all/src/main/java/io/opentelemetry/api/baggage/propagation/W3CBaggagePropagator.java
+0 −8 api/all/src/test/java/io/opentelemetry/api/baggage/ImmutableBaggageTest.java
+46 −0 api/all/src/test/java/io/opentelemetry/api/baggage/propagation/PercentEscaperFuzzTest.java
+93 −25 api/all/src/test/java/io/opentelemetry/api/baggage/propagation/W3CBaggagePropagatorFuzzTest.java
+14 −1 api/all/src/test/java/io/opentelemetry/api/baggage/propagation/W3CBaggagePropagatorTest.java
+4 −0 buildSrc/src/main/kotlin/otel.errorprone-conventions.gradle.kts
+6 −1 docs/apidiffs/current_vs_latest/opentelemetry-exporter-logging-otlp.txt
+6 −1 docs/apidiffs/current_vs_latest/opentelemetry-exporter-logging.txt
+2 −0 exporters/logging-otlp/build.gradle.kts
+56 −0 exporters/logging-otlp/src/main/java/io/opentelemetry/exporter/logging/otlp/OtlpJsonLoggingLogExporter.java
+160 −0 ...rters/logging-otlp/src/test/java/io/opentelemetry/exporter/logging/otlp/OtlpJsonLoggingLogExporterTest.java
+1 −0 exporters/logging/build.gradle.kts
+73 −0 exporters/logging/src/main/java/io/opentelemetry/exporter/logging/SystemOutLogExporter.java
+62 −0 exporters/logging/src/test/java/io/opentelemetry/exporter/logging/SystemOutLogExporterTest.java
+1 −1 exporters/otlp-http/logs/build.gradle.kts
+2 −2 exporters/otlp-http/logs/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogExporter.java
+4 −4 exporters/otlp-http/logs/src/test/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogExporterTest.java
+2 −2 exporters/otlp/common/build.gradle.kts
+9 −8 exporters/otlp/common/src/main/java/io/opentelemetry/exporter/otlp/internal/logs/LogMarshaler.java
+2 −2 exporters/otlp/common/src/main/java/io/opentelemetry/exporter/otlp/internal/logs/LogsRequestMarshaler.java
+1 −1 exporters/otlp/common/src/main/java/io/opentelemetry/exporter/otlp/internal/logs/ResourceLogsMarshaler.java
+33 −3 exporters/otlp/common/src/test/java/io/opentelemetry/exporter/otlp/internal/logs/LogsRequestMarshalerTest.java
+1 −1 exporters/otlp/logs/build.gradle.kts
+2 −2 exporters/otlp/logs/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogExporter.java
+3 −3 exporters/otlp/logs/src/test/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogsExporterTest.java
+3 −3 exporters/otlp/logs/src/testGrpcNetty/java/io/opentelemetry/exporter/otlp/logs/ExportTest.java
+3 −3 exporters/otlp/logs/src/testGrpcNettyShaded/java/io/opentelemetry/exporter/otlp/logs/ExportTest.java
+3 −3 exporters/otlp/logs/src/testGrpcOkhttp/java/io/opentelemetry/exporter/otlp/logs/ExportTest.java
+3 −3 exporters/otlp/logs/src/testOkHttpOnly/java/io/opentelemetry/exporter/otlp/logs/OkHttpOnlyExportTest.java
+21 −1 exporters/prometheus/build.gradle.kts
+136 −0 ...ers/prometheus/src/integrationTest/java/io/opentelemetry/exporter/prometheus/PrometheusIntegrationTest.java
+7 −0 exporters/prometheus/src/integrationTest/resources/prom.yml
+57 −15 exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/MetricAdapter.java
+245 −0 exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServer.java
+46 −0 exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerBuilder.java
+43 −0 exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerFactory.java
+189 −48 exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/MetricAdapterTest.java
+12 −4 exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusCollectorTest.java
+196 −0 exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerTest.java
+8 −5 integration-tests/src/testOtlpCommon/java/io/opentelemetry/integrationtest/OtlpExporterIntegrationTest.java
+3 −1 perf-harness/src/test/java/io/opentelemetry/perf/OtlpPipelineStressTest.java
+0 −4 sdk-extensions/autoconfigure/build.gradle.kts
+14 −19 sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/MetricExporterConfiguration.java
+0 −14 sdk-extensions/logging/src/main/java/io/opentelemetry/sdk/logging/LogSinkSdkProviderBuilder.java
+0 −0 sdk/logs/README.md
+0 −0 sdk/logs/build.gradle.kts
+0 −0 sdk/logs/gradle.properties
+2 −2 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/LogProcessor.java
+2 −2 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/LogSink.java
+7 −10 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/LogSinkSdkProvider.java
+36 −0 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/LogSinkSdkProviderBuilder.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/Body.java
+3 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/LogData.java
+3 −3 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/LogRecord.java
+3 −3 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/LogRecordBuilder.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/Severity.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/StringBody.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/package-info.java
+4 −4 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/BatchLogProcessor.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/BatchLogProcessorBuilder.java
+3 −3 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/LogExporter.java
+106 −0 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/SimpleLogProcessor.java
+1 −1 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/export/package-info.java
+2 −2 sdk/logs/src/main/java/io/opentelemetry/sdk/logs/package-info.java
+16 −38 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/LogSinkSdkProviderTest.java
+1 −1 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/data/BodyTest.java
+5 −27 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/export/BatchLogProcessorTest.java
+116 −0 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/export/SimpleLogProcessorTest.java
+3 −3 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/util/TestLogExporter.java
+3 −3 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/util/TestLogProcessor.java
+36 −0 sdk/logs/src/test/java/io/opentelemetry/sdk/logs/util/TestUtil.java
+22 −26 sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/export/PeriodicMetricReader.java
+70 −0 sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/export/PeriodicMetricReaderBuilder.java
+5 −14 sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/export/PeriodicMetricReaderFactory.java
+38 −7 sdk/metrics/src/test/java/io/opentelemetry/sdk/metrics/export/PeriodicMetricReaderTest.java
+1 −1 settings.gradle.kts
+3 −2 website_docs/_index.md
4 changes: 0 additions & 4 deletions content/en/docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
title: Documentation
linkTitle: Docs
aliases:
- /java/
- /java/metrics/
- /java/tracing/
menu:
main:
weight: 10
Expand Down