forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add system/env vars and properties configuration for Metric classes (o…
…pen-telemetry#1168) * Add configuration to IntervalMetricReader * Add configuration to OTLP * Add documentation * Fix year copyright * Removing Jaeger from javadoc * 0.4.0 -> 0.5.0
- Loading branch information
Showing
7 changed files
with
403 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
exporters/otlp/src/main/java/io/opentelemetry/exporters/otlp/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* Copyright 2020, OpenTelemetry Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* OpenTelemetry exporter which sends span and metric data to OpenTelemetry collector via gRPC. | ||
* | ||
* <h2>Contents</h2> | ||
* | ||
* <ul> | ||
* <li>{@link io.opentelemetry.exporters.otlp.CommonAdapter} | ||
* <li>{@link io.opentelemetry.exporters.otlp.MetricAdapter} | ||
* <li>{@link io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter} | ||
* <li>{@link io.opentelemetry.exporters.otlp.OtlpGrpcSpanExporter} | ||
* <li>{@link io.opentelemetry.exporters.otlp.ResourceAdapter} | ||
* <li>{@link io.opentelemetry.exporters.otlp.SpanAdapter} | ||
* </ul> | ||
* | ||
* <p>Values for {@link io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter} and {@link | ||
* io.opentelemetry.exporters.otlp.OtlpGrpcSpanExporter} can be read from system properties, | ||
* environment variables, or {@link java.util.Properties} objects. | ||
* | ||
* <h2>{@link io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter}</h2> | ||
* | ||
* <p>For System Properties and {@link java.util.Properties} objects, {@link | ||
* io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter} will look for the following names: | ||
* | ||
* <ul> | ||
* <li>{@code otel.otlp.metric.timeout}: to set the max waiting time for the collector to process | ||
* each metric batch. | ||
* </ul> | ||
* | ||
* <p>For Environment Variable, {@link io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter} will | ||
* look for the following names: | ||
* | ||
* <ul> | ||
* <li>{@code OTEL_OTLP_METRIC_TIMEOUT}: to set the max waiting time for the collector to process | ||
* each metric batch. | ||
* </ul> | ||
* | ||
* <h2>{@link io.opentelemetry.exporters.otlp.OtlpGrpcSpanExporter}</h2> | ||
* | ||
* <p>For System Properties and {@link java.util.Properties} objects, {@link | ||
* io.opentelemetry.exporters.otlp.OtlpGrpcSpanExporter} will look for the following names: | ||
* | ||
* <ul> | ||
* <li>{@code otel.otlp.span.timeout}: to set the max waiting time for the collector to process | ||
* each span batch. | ||
* </ul> | ||
* | ||
* <p>For Environment Variable, {@link io.opentelemetry.exporters.otlp.OtlpGrpcSpanExporter} will | ||
* look for the following names: | ||
* | ||
* <ul> | ||
* <li>{@code OTEL_OTLP_SPAN_TIMEOUT}: to set the max waiting time for the collector to process | ||
* each span batch. | ||
* </ul> | ||
*/ | ||
package io.opentelemetry.exporters.otlp; |
Oops, something went wrong.