opentelemetry-exporter-otlp 0.25.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +51 -2
- data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
- data/lib/opentelemetry/proto/collector/logs/v1/logs_service_pb.rb +6 -0
- data/lib/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.rb +6 -0
- data/lib/opentelemetry/proto/collector/trace/v1/trace_service_pb.rb +6 -0
- data/lib/opentelemetry/proto/common/v1/common_pb.rb +2 -5
- data/lib/opentelemetry/proto/logs/v1/logs_pb.rb +2 -9
- data/lib/opentelemetry/proto/metrics/v1/metrics_pb.rb +3 -9
- data/lib/opentelemetry/proto/trace/v1/trace_pb.rb +0 -7
- metadata +22 -12
- data/lib/opentelemetry/proto/collector/logs/v1/logs_service_services_pb.rb +0 -50
- data/lib/opentelemetry/proto/collector/metrics/v1/metrics_service_services_pb.rb +0 -50
- data/lib/opentelemetry/proto/collector/trace/v1/trace_service_services_pb.rb +0 -50
- data/lib/opentelemetry/proto/trace/v1/trace_config_pb.rb +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb071dc1c0134311f132447de543f3ca59c2f0180f1fce9e5a944649626b0afc
|
4
|
+
data.tar.gz: 67bbd4fcfdb43ff12e0634de1c2fb1894de132cf5ebab5d52f78762a007f266c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64cbdfa923fd9c836a4d315d44798df650b74b31936024300562e3d65a688166e5ce3c8e518db6047f908f1411bb9ebb00ce3fa9246c1cae0fcf24b7ccaea968
|
7
|
+
data.tar.gz: 1a47dabce4a7ae7f623ee533fa8e99287efcc12e873153f6fe1966039cde385df7d38ba90472694843aaccdf6bcabea13cf76c36d4f1c6dd6e57a72d1494ec63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
2
2
|
|
3
|
+
### v0.26.1 / 2023-07-29
|
4
|
+
|
5
|
+
* FIXED: Regenerate v0.20.0 protos
|
6
|
+
* ADDED: Allow google-protobuf ~> 3.14
|
7
|
+
|
8
|
+
### v0.26.0 / 2023-06-13
|
9
|
+
|
10
|
+
* ADDED: Use OTLP 0.20.0 protos
|
11
|
+
|
3
12
|
### v0.25.0 / 2023-06-01
|
4
13
|
|
5
14
|
* BREAKING CHANGE: Remove support for EoL Ruby 2.7
|
data/README.md
CHANGED
@@ -16,15 +16,17 @@ Generally, *libraries* that produce telemetry data should avoid depending direct
|
|
16
16
|
|
17
17
|
### Supported protocol version
|
18
18
|
|
19
|
-
This gem supports the [v0.
|
19
|
+
This gem supports the [v0.20.0 release][otel-proto-release] of OTLP.
|
20
20
|
|
21
21
|
## How do I get started?
|
22
22
|
|
23
23
|
Install the gem using:
|
24
24
|
|
25
|
-
```
|
25
|
+
```console
|
26
|
+
|
26
27
|
gem install opentelemetry-sdk
|
27
28
|
gem install opentelemetry-exporter-otlp
|
29
|
+
|
28
30
|
```
|
29
31
|
|
30
32
|
Or, if you use [bundler][bundler-home], include `opentelemetry-sdk` in your `Gemfile`.
|
@@ -93,6 +95,48 @@ The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special int
|
|
93
95
|
|
94
96
|
The `opentelemetry-exporter-otlp` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
|
95
97
|
|
98
|
+
## Working with Proto Definitions
|
99
|
+
|
100
|
+
The OTel community maintains a [repository with protobuf definitions][otel-proto-github] that language and collector implementors use to generate code.
|
101
|
+
|
102
|
+
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.
|
103
|
+
|
104
|
+
### System Requirements
|
105
|
+
|
106
|
+
- [`git` 2.41+][git-install]
|
107
|
+
- [`protoc` 22.5][protoc-install]
|
108
|
+
- [Ruby 3+][ruby-downloads]
|
109
|
+
|
110
|
+
> :warning: `protoc 23.x` *changes the Ruby code generator to emit a serialized proto instead of a DSL.* <https://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`.
|
111
|
+
|
112
|
+
### Upgrade Proto Definitions
|
113
|
+
|
114
|
+
**Update the target otel-proto version in the `Rakefile` that matches a release `tag` in the proto repo, e.g.**
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
# Rakefile
|
118
|
+
|
119
|
+
# https://github.com/open-telemetry/opentelemetry-proto/tree/v0.20.0
|
120
|
+
PROTO_VERSION = `v0.20.0`
|
121
|
+
```
|
122
|
+
|
123
|
+
**Generate the Ruby source files using `rake`:**
|
124
|
+
|
125
|
+
```console
|
126
|
+
|
127
|
+
$> bundle exec rake protobuf:generate
|
128
|
+
|
129
|
+
```
|
130
|
+
|
131
|
+
**Run tests and fix any errors:**
|
132
|
+
|
133
|
+
```console
|
134
|
+
|
135
|
+
$> bundle exec rake test
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
**Commit the chnages and open a PR!**
|
96
140
|
|
97
141
|
[opentelemetry-collector-home]: https://opentelemetry.io/docs/collector/about/
|
98
142
|
[opentelemetry-home]: https://opentelemetry.io
|
@@ -103,3 +147,8 @@ The `opentelemetry-exporter-otlp` gem is distributed under the Apache 2.0 licens
|
|
103
147
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
104
148
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
105
149
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
150
|
+
[git-install]: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
|
151
|
+
[protoc-install]: https://github.com/protocolbuffers/protobuf/releases/tag/v22.5
|
152
|
+
[ruby-downloads]: https://www.ruby-lang.org/en/downloads/
|
153
|
+
[otel-proto-github]: https://github.com/open-telemetry/opentelemetry-proto
|
154
|
+
[otel-proto-release]: https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.20.0
|
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
repeated :resource_logs, :message, 1, "opentelemetry.proto.logs.v1.ResourceLogs"
|
12
12
|
end
|
13
13
|
add_message "opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse" do
|
14
|
+
optional :partial_success, :message, 1, "opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess"
|
15
|
+
end
|
16
|
+
add_message "opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess" do
|
17
|
+
optional :rejected_log_records, :int64, 1
|
18
|
+
optional :error_message, :string, 2
|
14
19
|
end
|
15
20
|
end
|
16
21
|
end
|
@@ -22,6 +27,7 @@ module Opentelemetry
|
|
22
27
|
module V1
|
23
28
|
ExportLogsServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest").msgclass
|
24
29
|
ExportLogsServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse").msgclass
|
30
|
+
ExportLogsPartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess").msgclass
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
repeated :resource_metrics, :message, 1, "opentelemetry.proto.metrics.v1.ResourceMetrics"
|
12
12
|
end
|
13
13
|
add_message "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse" do
|
14
|
+
optional :partial_success, :message, 1, "opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess"
|
15
|
+
end
|
16
|
+
add_message "opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess" do
|
17
|
+
optional :rejected_data_points, :int64, 1
|
18
|
+
optional :error_message, :string, 2
|
14
19
|
end
|
15
20
|
end
|
16
21
|
end
|
@@ -22,6 +27,7 @@ module Opentelemetry
|
|
22
27
|
module V1
|
23
28
|
ExportMetricsServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest").msgclass
|
24
29
|
ExportMetricsServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse").msgclass
|
30
|
+
ExportMetricsPartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess").msgclass
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
repeated :resource_spans, :message, 1, "opentelemetry.proto.trace.v1.ResourceSpans"
|
12
12
|
end
|
13
13
|
add_message "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse" do
|
14
|
+
optional :partial_success, :message, 1, "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess"
|
15
|
+
end
|
16
|
+
add_message "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess" do
|
17
|
+
optional :rejected_spans, :int64, 1
|
18
|
+
optional :error_message, :string, 2
|
14
19
|
end
|
15
20
|
end
|
16
21
|
end
|
@@ -22,6 +27,7 @@ module Opentelemetry
|
|
22
27
|
module V1
|
23
28
|
ExportTraceServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest").msgclass
|
24
29
|
ExportTraceServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse").msgclass
|
30
|
+
ExportTracePartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess").msgclass
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|
@@ -26,13 +26,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
optional :key, :string, 1
|
27
27
|
optional :value, :message, 2, "opentelemetry.proto.common.v1.AnyValue"
|
28
28
|
end
|
29
|
-
add_message "opentelemetry.proto.common.v1.InstrumentationLibrary" do
|
30
|
-
optional :name, :string, 1
|
31
|
-
optional :version, :string, 2
|
32
|
-
end
|
33
29
|
add_message "opentelemetry.proto.common.v1.InstrumentationScope" do
|
34
30
|
optional :name, :string, 1
|
35
31
|
optional :version, :string, 2
|
32
|
+
repeated :attributes, :message, 3, "opentelemetry.proto.common.v1.KeyValue"
|
33
|
+
optional :dropped_attributes_count, :uint32, 4
|
36
34
|
end
|
37
35
|
end
|
38
36
|
end
|
@@ -45,7 +43,6 @@ module Opentelemetry
|
|
45
43
|
ArrayValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.ArrayValue").msgclass
|
46
44
|
KeyValueList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValueList").msgclass
|
47
45
|
KeyValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValue").msgclass
|
48
|
-
InstrumentationLibrary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.InstrumentationLibrary").msgclass
|
49
46
|
InstrumentationScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.InstrumentationScope").msgclass
|
50
47
|
end
|
51
48
|
end
|
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
add_message "opentelemetry.proto.logs.v1.ResourceLogs" do
|
15
15
|
optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
|
16
16
|
repeated :scope_logs, :message, 2, "opentelemetry.proto.logs.v1.ScopeLogs"
|
17
|
-
repeated :instrumentation_library_logs, :message, 1000, "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs"
|
18
17
|
optional :schema_url, :string, 3
|
19
18
|
end
|
20
19
|
add_message "opentelemetry.proto.logs.v1.ScopeLogs" do
|
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
21
|
repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord"
|
23
22
|
optional :schema_url, :string, 3
|
24
23
|
end
|
25
|
-
add_message "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs" do
|
26
|
-
optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
|
27
|
-
repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord"
|
28
|
-
optional :schema_url, :string, 3
|
29
|
-
end
|
30
24
|
add_message "opentelemetry.proto.logs.v1.LogRecord" do
|
31
25
|
optional :time_unix_nano, :fixed64, 1
|
32
26
|
optional :observed_time_unix_nano, :fixed64, 11
|
@@ -67,8 +61,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
61
|
value :SEVERITY_NUMBER_FATAL4, 24
|
68
62
|
end
|
69
63
|
add_enum "opentelemetry.proto.logs.v1.LogRecordFlags" do
|
70
|
-
value :
|
71
|
-
value :
|
64
|
+
value :LOG_RECORD_FLAGS_DO_NOT_USE, 0
|
65
|
+
value :LOG_RECORD_FLAGS_TRACE_FLAGS_MASK, 255
|
72
66
|
end
|
73
67
|
end
|
74
68
|
end
|
@@ -80,7 +74,6 @@ module Opentelemetry
|
|
80
74
|
LogsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogsData").msgclass
|
81
75
|
ResourceLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ResourceLogs").msgclass
|
82
76
|
ScopeLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ScopeLogs").msgclass
|
83
|
-
InstrumentationLibraryLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.InstrumentationLibraryLogs").msgclass
|
84
77
|
LogRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecord").msgclass
|
85
78
|
SeverityNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.SeverityNumber").enummodule
|
86
79
|
LogRecordFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecordFlags").enummodule
|
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
add_message "opentelemetry.proto.metrics.v1.ResourceMetrics" do
|
15
15
|
optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
|
16
16
|
repeated :scope_metrics, :message, 2, "opentelemetry.proto.metrics.v1.ScopeMetrics"
|
17
|
-
repeated :instrumentation_library_metrics, :message, 1000, "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics"
|
18
17
|
optional :schema_url, :string, 3
|
19
18
|
end
|
20
19
|
add_message "opentelemetry.proto.metrics.v1.ScopeMetrics" do
|
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
21
|
repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
|
23
22
|
optional :schema_url, :string, 3
|
24
23
|
end
|
25
|
-
add_message "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics" do
|
26
|
-
optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
|
27
|
-
repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
|
28
|
-
optional :schema_url, :string, 3
|
29
|
-
end
|
30
24
|
add_message "opentelemetry.proto.metrics.v1.Metric" do
|
31
25
|
optional :name, :string, 1
|
32
26
|
optional :description, :string, 2
|
@@ -96,6 +90,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
96
90
|
repeated :exemplars, :message, 11, "opentelemetry.proto.metrics.v1.Exemplar"
|
97
91
|
proto3_optional :min, :double, 12
|
98
92
|
proto3_optional :max, :double, 13
|
93
|
+
optional :zero_threshold, :double, 14
|
99
94
|
end
|
100
95
|
add_message "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets" do
|
101
96
|
optional :offset, :sint32, 1
|
@@ -130,8 +125,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
130
125
|
value :AGGREGATION_TEMPORALITY_CUMULATIVE, 2
|
131
126
|
end
|
132
127
|
add_enum "opentelemetry.proto.metrics.v1.DataPointFlags" do
|
133
|
-
value :
|
134
|
-
value :
|
128
|
+
value :DATA_POINT_FLAGS_DO_NOT_USE, 0
|
129
|
+
value :DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK, 1
|
135
130
|
end
|
136
131
|
end
|
137
132
|
end
|
@@ -143,7 +138,6 @@ module Opentelemetry
|
|
143
138
|
MetricsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.MetricsData").msgclass
|
144
139
|
ResourceMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ResourceMetrics").msgclass
|
145
140
|
ScopeMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ScopeMetrics").msgclass
|
146
|
-
InstrumentationLibraryMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics").msgclass
|
147
141
|
Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Metric").msgclass
|
148
142
|
Gauge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Gauge").msgclass
|
149
143
|
Sum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Sum").msgclass
|
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
add_message "opentelemetry.proto.trace.v1.ResourceSpans" do
|
15
15
|
optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
|
16
16
|
repeated :scope_spans, :message, 2, "opentelemetry.proto.trace.v1.ScopeSpans"
|
17
|
-
repeated :instrumentation_library_spans, :message, 1000, "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans"
|
18
17
|
optional :schema_url, :string, 3
|
19
18
|
end
|
20
19
|
add_message "opentelemetry.proto.trace.v1.ScopeSpans" do
|
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
21
|
repeated :spans, :message, 2, "opentelemetry.proto.trace.v1.Span"
|
23
22
|
optional :schema_url, :string, 3
|
24
23
|
end
|
25
|
-
add_message "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans" do
|
26
|
-
optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
|
27
|
-
repeated :spans, :message, 2, "opentelemetry.proto.trace.v1.Span"
|
28
|
-
optional :schema_url, :string, 3
|
29
|
-
end
|
30
24
|
add_message "opentelemetry.proto.trace.v1.Span" do
|
31
25
|
optional :trace_id, :bytes, 1
|
32
26
|
optional :span_id, :bytes, 2
|
@@ -84,7 +78,6 @@ module Opentelemetry
|
|
84
78
|
TracesData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.TracesData").msgclass
|
85
79
|
ResourceSpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ResourceSpans").msgclass
|
86
80
|
ScopeSpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ScopeSpans").msgclass
|
87
|
-
InstrumentationLibrarySpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.InstrumentationLibrarySpans").msgclass
|
88
81
|
Span = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span").msgclass
|
89
82
|
Span::Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span.Event").msgclass
|
90
83
|
Span::Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span.Link").msgclass
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-exporter-otlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: googleapis-common-protos-types
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: opentelemetry-api
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.20'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: '0.20'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: opentelemetry-sdk
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: appraisal
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.2.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.2.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,25 +278,21 @@ files:
|
|
264
278
|
- lib/opentelemetry/exporter/otlp/exporter.rb
|
265
279
|
- lib/opentelemetry/exporter/otlp/version.rb
|
266
280
|
- lib/opentelemetry/proto/collector/logs/v1/logs_service_pb.rb
|
267
|
-
- lib/opentelemetry/proto/collector/logs/v1/logs_service_services_pb.rb
|
268
281
|
- lib/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.rb
|
269
|
-
- lib/opentelemetry/proto/collector/metrics/v1/metrics_service_services_pb.rb
|
270
282
|
- lib/opentelemetry/proto/collector/trace/v1/trace_service_pb.rb
|
271
|
-
- lib/opentelemetry/proto/collector/trace/v1/trace_service_services_pb.rb
|
272
283
|
- lib/opentelemetry/proto/common/v1/common_pb.rb
|
273
284
|
- lib/opentelemetry/proto/logs/v1/logs_pb.rb
|
274
285
|
- lib/opentelemetry/proto/metrics/v1/metrics_pb.rb
|
275
286
|
- lib/opentelemetry/proto/resource/v1/resource_pb.rb
|
276
|
-
- lib/opentelemetry/proto/trace/v1/trace_config_pb.rb
|
277
287
|
- lib/opentelemetry/proto/trace/v1/trace_pb.rb
|
278
288
|
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
279
289
|
licenses:
|
280
290
|
- Apache-2.0
|
281
291
|
metadata:
|
282
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
292
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.26.1/file.CHANGELOG.html
|
283
293
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
|
284
294
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
285
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
295
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.26.1
|
286
296
|
post_install_message:
|
287
297
|
rdoc_options: []
|
288
298
|
require_paths:
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: opentelemetry/proto/collector/logs/v1/logs_service.proto for package 'opentelemetry.proto.collector.logs.v1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020, OpenTelemetry Authors
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'opentelemetry/proto/collector/logs/v1/logs_service_pb'
|
21
|
-
|
22
|
-
module Opentelemetry
|
23
|
-
module Proto
|
24
|
-
module Collector
|
25
|
-
module Logs
|
26
|
-
module V1
|
27
|
-
module LogsService
|
28
|
-
# Service that can be used to push logs between one Application instrumented with
|
29
|
-
# OpenTelemetry and an collector, or between an collector and a central collector (in this
|
30
|
-
# case logs are sent/received to/from multiple Applications).
|
31
|
-
class Service
|
32
|
-
|
33
|
-
include ::GRPC::GenericService
|
34
|
-
|
35
|
-
self.marshal_class_method = :encode
|
36
|
-
self.unmarshal_class_method = :decode
|
37
|
-
self.service_name = 'opentelemetry.proto.collector.logs.v1.LogsService'
|
38
|
-
|
39
|
-
# For performance reasons, it is recommended to keep this RPC
|
40
|
-
# alive for the entire life of the application.
|
41
|
-
rpc :Export, ::Opentelemetry::Proto::Collector::Logs::V1::ExportLogsServiceRequest, ::Opentelemetry::Proto::Collector::Logs::V1::ExportLogsServiceResponse
|
42
|
-
end
|
43
|
-
|
44
|
-
Stub = Service.rpc_stub_class
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto for package 'opentelemetry.proto.collector.metrics.v1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2019, OpenTelemetry Authors
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'opentelemetry/proto/collector/metrics/v1/metrics_service_pb'
|
21
|
-
|
22
|
-
module Opentelemetry
|
23
|
-
module Proto
|
24
|
-
module Collector
|
25
|
-
module Metrics
|
26
|
-
module V1
|
27
|
-
module MetricsService
|
28
|
-
# Service that can be used to push metrics between one Application
|
29
|
-
# instrumented with OpenTelemetry and a collector, or between a collector and a
|
30
|
-
# central collector.
|
31
|
-
class Service
|
32
|
-
|
33
|
-
include ::GRPC::GenericService
|
34
|
-
|
35
|
-
self.marshal_class_method = :encode
|
36
|
-
self.unmarshal_class_method = :decode
|
37
|
-
self.service_name = 'opentelemetry.proto.collector.metrics.v1.MetricsService'
|
38
|
-
|
39
|
-
# For performance reasons, it is recommended to keep this RPC
|
40
|
-
# alive for the entire life of the application.
|
41
|
-
rpc :Export, ::Opentelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceRequest, ::Opentelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceResponse
|
42
|
-
end
|
43
|
-
|
44
|
-
Stub = Service.rpc_stub_class
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: opentelemetry/proto/collector/trace/v1/trace_service.proto for package 'opentelemetry.proto.collector.trace.v1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2019, OpenTelemetry Authors
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'opentelemetry/proto/collector/trace/v1/trace_service_pb'
|
21
|
-
|
22
|
-
module Opentelemetry
|
23
|
-
module Proto
|
24
|
-
module Collector
|
25
|
-
module Trace
|
26
|
-
module V1
|
27
|
-
module TraceService
|
28
|
-
# Service that can be used to push spans between one Application instrumented with
|
29
|
-
# OpenTelemetry and a collector, or between a collector and a central collector (in this
|
30
|
-
# case spans are sent/received to/from multiple Applications).
|
31
|
-
class Service
|
32
|
-
|
33
|
-
include ::GRPC::GenericService
|
34
|
-
|
35
|
-
self.marshal_class_method = :encode
|
36
|
-
self.unmarshal_class_method = :decode
|
37
|
-
self.service_name = 'opentelemetry.proto.collector.trace.v1.TraceService'
|
38
|
-
|
39
|
-
# For performance reasons, it is recommended to keep this RPC
|
40
|
-
# alive for the entire life of the application.
|
41
|
-
rpc :Export, ::Opentelemetry::Proto::Collector::Trace::V1::ExportTraceServiceRequest, ::Opentelemetry::Proto::Collector::Trace::V1::ExportTraceServiceResponse
|
42
|
-
end
|
43
|
-
|
44
|
-
Stub = Service.rpc_stub_class
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: opentelemetry/proto/trace/v1/trace_config.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("opentelemetry/proto/trace/v1/trace_config.proto", :syntax => :proto3) do
|
8
|
-
add_message "opentelemetry.proto.trace.v1.TraceConfig" do
|
9
|
-
optional :max_number_of_attributes, :int64, 4
|
10
|
-
optional :max_number_of_timed_events, :int64, 5
|
11
|
-
optional :max_number_of_attributes_per_timed_event, :int64, 6
|
12
|
-
optional :max_number_of_links, :int64, 7
|
13
|
-
optional :max_number_of_attributes_per_link, :int64, 8
|
14
|
-
oneof :sampler do
|
15
|
-
optional :constant_sampler, :message, 1, "opentelemetry.proto.trace.v1.ConstantSampler"
|
16
|
-
optional :trace_id_ratio_based, :message, 2, "opentelemetry.proto.trace.v1.TraceIdRatioBased"
|
17
|
-
optional :rate_limiting_sampler, :message, 3, "opentelemetry.proto.trace.v1.RateLimitingSampler"
|
18
|
-
end
|
19
|
-
end
|
20
|
-
add_message "opentelemetry.proto.trace.v1.ConstantSampler" do
|
21
|
-
optional :decision, :enum, 1, "opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision"
|
22
|
-
end
|
23
|
-
add_enum "opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision" do
|
24
|
-
value :ALWAYS_OFF, 0
|
25
|
-
value :ALWAYS_ON, 1
|
26
|
-
value :ALWAYS_PARENT, 2
|
27
|
-
end
|
28
|
-
add_message "opentelemetry.proto.trace.v1.TraceIdRatioBased" do
|
29
|
-
optional :samplingRatio, :double, 1
|
30
|
-
end
|
31
|
-
add_message "opentelemetry.proto.trace.v1.RateLimitingSampler" do
|
32
|
-
optional :qps, :int64, 1
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
module Opentelemetry
|
38
|
-
module Proto
|
39
|
-
module Trace
|
40
|
-
module V1
|
41
|
-
TraceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.TraceConfig").msgclass
|
42
|
-
ConstantSampler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ConstantSampler").msgclass
|
43
|
-
ConstantSampler::ConstantDecision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision").enummodule
|
44
|
-
TraceIdRatioBased = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.TraceIdRatioBased").msgclass
|
45
|
-
RateLimitingSampler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.RateLimitingSampler").msgclass
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|