OpenTelemetry is an open source observability framework, providing a general-purpose API, SDK, and related tools required for the instrumentation of cloud-native software, frameworks, and libraries.
+
+
The OpenTelemetry module provides global accessors for telemetry objects. See the documentation for the opentelemetry-api gem for details.
metrics_pb has following type of data: :gauge, :sum, :histogram, :exponential_histogram, :summary current metric sdk only implements instrument: :counter -> :sum, :histogram -> :histogram.
metrics_pb has following type of data: :gauge, :sum, :histogram, :exponential_histogram, :summary current metric sdk only implements instrument: :counter -> :sum, :histogram -> :histogram
The opentelemetry-exporter-otlp-metrics gem provides an OTLP metrics exporter for OpenTelemetry for Ruby. Using opentelemetry-exporter-otlp-metrics, an application can configure OpenTelemetry to export collected metrics data to the OpenTelemetry Collector.
+
+
What is OpenTelemetry?
+
+
OpenTelemetry is an open source observability framework, providing a general-purpose API, SDK, and related tools required for the instrumentation of cloud-native software, frameworks, and libraries.
+
+
OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools.
+
+
How does this gem fit in?
+
+
The opentelemetry-exporter-otlp-metrics gem is a plugin that provides OTLP export. To export to the OpenTelemetry Collector, an application can include this gem along with opentelemetry-sdk, and configure the SDK to use the provided OTLP exporter with a metric reader.
+
+
Generally, libraries that produce telemetry data should avoid depending directly on specific exporter, deferring that choice to the application developer.
The exporter-oltp-metrics depends on two gems that have not been officially released: opentelemetry-metrics-sdk and opentelemetry-metrics-api.
+
+
Within the .gemspec file, these gems are not listed as dependencies. However, for users who need utilize this metrics exporter, they must first install and load these two gems before they can use the exporter.
+
+
To facilitate this, there are couple recommended approaches:
Or, if you use bundler, include opentelemetry-sdk, opentelemetry-metrics-sdk, and opentelemetry-exporter-otlp-metrics in your Gemfile.
+
+
Then, configure the SDK to use the OTLP metrics exporter
+
+
require'opentelemetry/sdk'
+require'opentelemetry-metrics-sdk'
+require'opentelemetry/exporter/otlp_metrics'
+
+OpenTelemetry::SDK.configure
+
+# To start a trace you need to get a Tracer from the TracerProvider
+
+otlp_metric_exporter=OpenTelemetry::Exporter::OTLP::Metrics::MetricsExporter.new
+
+OpenTelemetry.meter_provider.add_metric_reader(otlp_metric_exporter)
+
+meter=OpenTelemetry.meter_provider.meter("SAMPLE_METER_NAME")
+
+histogram=meter.create_histogram('histogram',unit:'smidgen',description:'desscription')
+
+histogram.record(123,attributes:{'foo'=>'bar'})
+
+OpenTelemetry.meter_provider.metric_readers.each(&:pull)
+OpenTelemetry.meter_provider.shutdown
+
The collector exporter can be configured explicitly in code, or via environment variables as shown above. The configuration parameters, environment variables, and defaults are shown below.
ssl_verify_mode: parameter values should be flags for server certificate verification: OpenSSL::SSL:VERIFY_PEER and OpenSSL::SSL:VERIFY_NONE are acceptable. These values can also be set using the appropriately named environment variables as shown where VERIFY_PEER will take precedence over VERIFY_NONE. Please see the Net::HTTP docs for more information about these flags.
+
+
How can I get involved?
+
+
The opentelemetry-exporter-otlp-metrics gem source is on github, along with related gems including opentelemetry-metrics-sdk.
+
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in GitHub Discussions or attending our weekly meeting. See the meeting calendar for dates and times. For more information on this and other language SIGs, see the OpenTelemetry community page.
+
+
License
+
+
The opentelemetry-exporter-otlp-metrics gem is distributed under the Apache 2.0 license. See LICENSE for more information.
Maintainers are expected to keep up to date with the latest version of protos. This guide will provide you with step-by-step instructions on updating the OTLP Exporter gem with the latest definitions.
:warning: protoc 23.xchanges the Ruby code generator to emit a serialized proto instead of a DSL.protobuf.dev/news/2023-04-20/. Please ensure you use protoc version 22.x in order to ensure we remain compatible with versions of protobuf prior to google-protobuf gem 3.18.
+
+
+
Upgrade Proto Definitions
+
+
Update the target otel-proto version in the Rakefile that matches a release tag in the proto repo, e.g.
The opentelemetry-exporter-otlp-metrics gem provides an OTLP metrics exporter for OpenTelemetry for Ruby. Using opentelemetry-exporter-otlp-metrics, an application can configure OpenTelemetry to export collected metrics data to the OpenTelemetry Collector.
+
+
What is OpenTelemetry?
+
+
OpenTelemetry is an open source observability framework, providing a general-purpose API, SDK, and related tools required for the instrumentation of cloud-native software, frameworks, and libraries.
+
+
OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools.
+
+
How does this gem fit in?
+
+
The opentelemetry-exporter-otlp-metrics gem is a plugin that provides OTLP export. To export to the OpenTelemetry Collector, an application can include this gem along with opentelemetry-sdk, and configure the SDK to use the provided OTLP exporter with a metric reader.
+
+
Generally, libraries that produce telemetry data should avoid depending directly on specific exporter, deferring that choice to the application developer.
The exporter-oltp-metrics depends on two gems that have not been officially released: opentelemetry-metrics-sdk and opentelemetry-metrics-api.
+
+
Within the .gemspec file, these gems are not listed as dependencies. However, for users who need utilize this metrics exporter, they must first install and load these two gems before they can use the exporter.
+
+
To facilitate this, there are couple recommended approaches:
Or, if you use bundler, include opentelemetry-sdk, opentelemetry-metrics-sdk, and opentelemetry-exporter-otlp-metrics in your Gemfile.
+
+
Then, configure the SDK to use the OTLP metrics exporter
+
+
require'opentelemetry/sdk'
+require'opentelemetry-metrics-sdk'
+require'opentelemetry/exporter/otlp_metrics'
+
+OpenTelemetry::SDK.configure
+
+# To start a trace you need to get a Tracer from the TracerProvider
+
+otlp_metric_exporter=OpenTelemetry::Exporter::OTLP::Metrics::MetricsExporter.new
+
+OpenTelemetry.meter_provider.add_metric_reader(otlp_metric_exporter)
+
+meter=OpenTelemetry.meter_provider.meter("SAMPLE_METER_NAME")
+
+histogram=meter.create_histogram('histogram',unit:'smidgen',description:'desscription')
+
+histogram.record(123,attributes:{'foo'=>'bar'})
+
+OpenTelemetry.meter_provider.metric_readers.each(&:pull)
+OpenTelemetry.meter_provider.shutdown
+
The collector exporter can be configured explicitly in code, or via environment variables as shown above. The configuration parameters, environment variables, and defaults are shown below.
ssl_verify_mode: parameter values should be flags for server certificate verification: OpenSSL::SSL:VERIFY_PEER and OpenSSL::SSL:VERIFY_NONE are acceptable. These values can also be set using the appropriately named environment variables as shown where VERIFY_PEER will take precedence over VERIFY_NONE. Please see the Net::HTTP docs for more information about these flags.
+
+
How can I get involved?
+
+
The opentelemetry-exporter-otlp-metrics gem source is on github, along with related gems including opentelemetry-metrics-sdk.
+
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in GitHub Discussions or attending our weekly meeting. See the meeting calendar for dates and times. For more information on this and other language SIGs, see the OpenTelemetry community page.
+
+
License
+
+
The opentelemetry-exporter-otlp-metrics gem is distributed under the Apache 2.0 license. See LICENSE for more information.
Maintainers are expected to keep up to date with the latest version of protos. This guide will provide you with step-by-step instructions on updating the OTLP Exporter gem with the latest definitions.
:warning: protoc 23.xchanges the Ruby code generator to emit a serialized proto instead of a DSL.protobuf.dev/news/2023-04-20/. Please ensure you use protoc version 22.x in order to ensure we remain compatible with versions of protobuf prior to google-protobuf gem 3.18.
+
+
+
Upgrade Proto Definitions
+
+
Update the target otel-proto version in the Rakefile that matches a release tag in the proto repo, e.g.
+
+
\ No newline at end of file
diff --git a/opentelemetry-exporter-otlp/v0.29.0/OpenTelemetry.html b/opentelemetry-exporter-otlp/v0.29.0/OpenTelemetry.html
index 3bff57468..f41b1809c 100644
--- a/opentelemetry-exporter-otlp/v0.29.0/OpenTelemetry.html
+++ b/opentelemetry-exporter-otlp/v0.29.0/OpenTelemetry.html
@@ -120,9 +120,9 @@