Skip to content

Commit

Permalink
Add otlp exporters missing documentation (#4055)
Browse files Browse the repository at this point in the history
  • Loading branch information
emdneto authored Jul 16, 2024
1 parent 2447868 commit b1e99c1
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ sphinx-jekyll-builder==0.3.0
./opentelemetry-api
./opentelemetry-semantic-conventions
./opentelemetry-sdk
./opentelemetry-proto
./shim/opentelemetry-opencensus-shim
./shim/opentelemetry-opentracing-shim
./exporter/opentelemetry-exporter-otlp-proto-common
./exporter/opentelemetry-exporter-otlp-proto-http
./exporter/opentelemetry-exporter-otlp-proto-grpc

# Required by instrumentation and exporter packages
grpcio~=1.27
Expand Down
23 changes: 23 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,29 @@
"py:class",
"opentelemetry.trace._LinkBase",
),
(
"py:class",
"opentelemetry.exporter.otlp.proto.grpc.exporter.OTLPExporterMixin",
),
(
"py:class",
"opentelemetry.proto.collector.trace.v1.trace_service_pb2.ExportTraceServiceRequest",
),
(
"py:class",
"opentelemetry.exporter.otlp.proto.common._internal.metrics_encoder.OTLPMetricExporterMixin",
),
("py:class", "opentelemetry.proto.resource.v1.resource_pb2.Resource"),
(
"py:class",
"opentelemetry.proto.collector.metrics.v1.metrics_service_pb2.ExportMetricsServiceRequest",
),
("py:class", "opentelemetry.sdk._logs._internal.export.LogExporter"),
("py:class", "opentelemetry.sdk._logs._internal.export.LogExportResult"),
(
"py:class",
"opentelemetry.proto.collector.logs.v1.logs_service_pb2.ExportLogsServiceRequest",
),
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
24 changes: 23 additions & 1 deletion docs/exporter/otlp/otlp.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
OpenTelemetry OTLP Exporters
============================

.. automodule:: opentelemetry.exporter.otlp
:members:
:undoc-members:
:show-inheritance:

opentelemetry.exporter.otlp.proto.http
---------------------------------------

.. automodule:: opentelemetry.exporter.otlp.proto.http
:members:
:undoc-members:
:show-inheritance:

.. automodule:: opentelemetry.exporter.otlp.proto.http.trace_exporter

.. automodule:: opentelemetry.exporter.otlp.proto.http.metric_exporter

.. automodule:: opentelemetry.exporter.otlp.proto.http._log_exporter

opentelemetry.exporter.otlp.proto.grpc
---------------------------------------

.. automodule:: opentelemetry.exporter.otlp.proto.grpc
:members:
:undoc-members:
:show-inheritance:

.. automodule:: opentelemetry.exporter.otlp.proto.grpc.trace_exporter

.. automodule:: opentelemetry.exporter.otlp.proto.grpc.metric_exporter

.. automodule:: opentelemetry.exporter.otlp.proto.grpc._log_exporter

0 comments on commit b1e99c1

Please sign in to comment.