opentelemetry-exporter-otlp 0.29.1 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +90 -82
 - data/lib/opentelemetry/exporter/otlp/exporter.rb +24 -2
 - data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
 - data/lib/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.rb +27 -0
 - data/lib/opentelemetry/proto/common/v1/common_pb.rb +2 -1
 - data/lib/opentelemetry/proto/logs/v1/logs_pb.rb +1 -1
 - data/lib/opentelemetry/proto/metrics/v1/metrics_pb.rb +1 -1
 - data/lib/opentelemetry/proto/profiles/v1development/profiles_pb.rb +38 -0
 - data/lib/opentelemetry/proto/resource/v1/resource_pb.rb +1 -1
 - data/lib/opentelemetry/proto/trace/v1/trace_pb.rb +2 -1
 - metadata +69 -11
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 4d68f7ebae4649d30974b58796794c08fdc6632c34f9db5101cde32f17183a2e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 82052675a4f72e87c74bf244e991ca1b988cd7fc5e8163cb2db7ba4c70101f49
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c12328b2fda5a8e31e0dceee54a01cca1939132c61b891d2b28d3f5e4b6bcab0058069313955b741eb5cf47a2b6d238faa78d9b6487c32d94266ac649a0fbbfa
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b5b2bb2bff5fca4083ec17d3e5d33568f2ee04b7e54b5e72c23bbdf3bf508b9052aa94fd32a05b6c956bd6e7377428a4657a07aa31947206afeff69a538860a9
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,212 +1,220 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release History: opentelemetry-exporter-otlp
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.31.0 / 2025-10-14
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * ADDED: Add span flags support for isRemote property
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.30.0 / 2025-02-25
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            - ADDED: Support 3.1 Min Version
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       3 
11 
     | 
    
         
             
            ### v0.29.1 / 2024-12-04
         
     | 
| 
       4 
12 
     | 
    
         | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
      
 13 
     | 
    
         
            +
            - FIXED: Remove WRITE_TIMEOUT_SUPPORTED
         
     | 
| 
       6 
14 
     | 
    
         | 
| 
       7 
15 
     | 
    
         
             
            ### v0.29.0 / 2024-08-27
         
     | 
| 
       8 
16 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
      
 17 
     | 
    
         
            +
            - ADDED: Add support for mutual TLS.
         
     | 
| 
       10 
18 
     | 
    
         | 
| 
       11 
19 
     | 
    
         
             
            ### v0.28.1 / 2024-07-24
         
     | 
| 
       12 
20 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
            - ADDED: Improve SSL error logging.
         
     | 
| 
       14 
22 
     | 
    
         | 
| 
       15 
23 
     | 
    
         
             
            ### v0.28.0 / 2024-06-19
         
     | 
| 
       16 
24 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
      
 25 
     | 
    
         
            +
            - ADDED: Bump google_protobuf >=3.18, < 5.a
         
     | 
| 
       18 
26 
     | 
    
         | 
| 
       19 
27 
     | 
    
         
             
            ### v0.27.0 / 2024-04-19
         
     | 
| 
       20 
28 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
      
 29 
     | 
    
         
            +
            - ADDED: Add stats for serialization time in otlp exporter
         
     | 
| 
       22 
30 
     | 
    
         | 
| 
       23 
31 
     | 
    
         
             
            ### v0.26.3 / 2024-02-01
         
     | 
| 
       24 
32 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
            - FIXED: do not log request failure in backoff?
         
     | 
| 
       26 
34 
     | 
    
         | 
| 
       27 
35 
     | 
    
         
             
            ### v0.26.2 / 2024-01-23
         
     | 
| 
       28 
36 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
      
 37 
     | 
    
         
            +
            - FIXED: Align endpoint environment variable handling with spec
         
     | 
| 
      
 38 
     | 
    
         
            +
            - FIXED: Require csv for ruby-3.4 compatibility
         
     | 
| 
      
 39 
     | 
    
         
            +
            - FIXED: Add context to metrics reporting of buffer-full events
         
     | 
| 
       32 
40 
     | 
    
         | 
| 
       33 
41 
     | 
    
         
             
            ### v0.26.1 / 2023-07-29
         
     | 
| 
       34 
42 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
      
 43 
     | 
    
         
            +
            - FIXED: Regenerate v0.20.0 protos
         
     | 
| 
      
 44 
     | 
    
         
            +
            - ADDED: Allow google-protobuf ~> 3.14
         
     | 
| 
       37 
45 
     | 
    
         | 
| 
       38 
46 
     | 
    
         
             
            ### v0.26.0 / 2023-06-13
         
     | 
| 
       39 
47 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
      
 48 
     | 
    
         
            +
            - ADDED: Use OTLP 0.20.0 protos
         
     | 
| 
       41 
49 
     | 
    
         | 
| 
       42 
50 
     | 
    
         
             
            ### v0.25.0 / 2023-06-01
         
     | 
| 
       43 
51 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
      
 52 
     | 
    
         
            +
            - BREAKING CHANGE: Remove support for EoL Ruby 2.7
         
     | 
| 
       45 
53 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
      
 54 
     | 
    
         
            +
            - ADDED: Remove support for EoL Ruby 2.7
         
     | 
| 
      
 55 
     | 
    
         
            +
            - FIXED: Make version available to user agent header #1458
         
     | 
| 
       48 
56 
     | 
    
         | 
| 
       49 
57 
     | 
    
         
             
            ### v0.24.1 / 2023-05-30
         
     | 
| 
       50 
58 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
      
 59 
     | 
    
         
            +
            - FIXED: Add Ruby 3.2 to CI and do small fix
         
     | 
| 
      
 60 
     | 
    
         
            +
            - FIXED: Adds User-Agent header in OTLP exporter
         
     | 
| 
       53 
61 
     | 
    
         | 
| 
       54 
62 
     | 
    
         
             
            ### v0.24.0 / 2022-09-14
         
     | 
| 
       55 
63 
     | 
    
         | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
      
 64 
     | 
    
         
            +
            - ADDED: Support InstrumentationScope, and update OTLP proto to 0.18.0
         
     | 
| 
      
 65 
     | 
    
         
            +
            - FIXED: Handle OTLP exporter 404s discretely
         
     | 
| 
      
 66 
     | 
    
         
            +
            - FIXED: `OTEL_EXPORTER_OTLP_ENDPOINT` appends the correct path with a trailing slash
         
     | 
| 
      
 67 
     | 
    
         
            +
            - FIXED: OTLP exporter demo code
         
     | 
| 
      
 68 
     | 
    
         
            +
            - DOCS: Update exporter default compression setting
         
     | 
| 
       61 
69 
     | 
    
         | 
| 
       62 
70 
     | 
    
         
             
            ### v0.23.0 / 2022-06-23
         
     | 
| 
       63 
71 
     | 
    
         | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
      
 72 
     | 
    
         
            +
            - ADDED: Report bundle size stats in exporter; also don't re-gzip unnecessarily
         
     | 
| 
       65 
73 
     | 
    
         | 
| 
       66 
74 
     | 
    
         
             
            ### v0.22.0 / 2022-06-09
         
     | 
| 
       67 
75 
     | 
    
         | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
      
 76 
     | 
    
         
            +
            - ADDED: Otlp grpc
         
     | 
| 
       69 
77 
     | 
    
         | 
| 
       70 
78 
     | 
    
         
             
            ### v0.21.3 / 2022-05-12
         
     | 
| 
       71 
79 
     | 
    
         | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
      
 80 
     | 
    
         
            +
            - (No significant changes)
         
     | 
| 
       73 
81 
     | 
    
         | 
| 
       74 
82 
     | 
    
         
             
            ### v0.21.2 / 2022-01-19
         
     | 
| 
       75 
83 
     | 
    
         | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
      
 84 
     | 
    
         
            +
            - FIXED: Default scheme for OTLP endpoint
         
     | 
| 
      
 85 
     | 
    
         
            +
            - FIXED: Remove TIMEOUT status from OTLP exporter (#1087)
         
     | 
| 
       78 
86 
     | 
    
         | 
| 
       79 
87 
     | 
    
         
             
            ### v0.21.1 / 2021-12-31
         
     | 
| 
       80 
88 
     | 
    
         | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
      
 89 
     | 
    
         
            +
            - FIXED: Allow OTLP Exporter compression value of `none`
         
     | 
| 
       82 
90 
     | 
    
         | 
| 
       83 
91 
     | 
    
         
             
            ### v0.21.0 / 2021-12-01
         
     | 
| 
       84 
92 
     | 
    
         | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
      
 93 
     | 
    
         
            +
            - ADDED: Exporter should use gzip compression by default
         
     | 
| 
       86 
94 
     | 
    
         | 
| 
       87 
95 
     | 
    
         
             
            ### v0.20.6 / 2021-10-29
         
     | 
| 
       88 
96 
     | 
    
         | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
      
 97 
     | 
    
         
            +
            - FIXED: Add unexpected error handlign in BSP and OTLP exporter (#995)
         
     | 
| 
      
 98 
     | 
    
         
            +
            - FIXED: Handle otlp exporter race condition gzip errors with retry
         
     | 
| 
       91 
99 
     | 
    
         | 
| 
       92 
100 
     | 
    
         
             
            ### v0.20.5 / 2021-09-29
         
     | 
| 
       93 
101 
     | 
    
         | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
      
 102 
     | 
    
         
            +
            - (No significant changes)
         
     | 
| 
       95 
103 
     | 
    
         | 
| 
       96 
104 
     | 
    
         
             
            ### v0.20.4 / 2021-09-29
         
     | 
| 
       97 
105 
     | 
    
         | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
      
 106 
     | 
    
         
            +
            - FIXED: OTLP Export Header Format
         
     | 
| 
       99 
107 
     | 
    
         | 
| 
       100 
108 
     | 
    
         
             
            ### v0.20.3 / 2021-08-19
         
     | 
| 
       101 
109 
     | 
    
         | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
      
 110 
     | 
    
         
            +
            - FIXED: OTLP exporter missing failure metrics
         
     | 
| 
       103 
111 
     | 
    
         | 
| 
       104 
112 
     | 
    
         
             
            ### v0.20.2 / 2021-08-12
         
     | 
| 
       105 
113 
     | 
    
         | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
      
 114 
     | 
    
         
            +
            - FIXED: Add rescue for OpenSSL errors during export
         
     | 
| 
      
 115 
     | 
    
         
            +
            - DOCS: Update docs to rely more on environment variable configuration
         
     | 
| 
       108 
116 
     | 
    
         | 
| 
       109 
117 
     | 
    
         
             
            ### v0.20.1 / 2021-06-29
         
     | 
| 
       110 
118 
     | 
    
         | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
      
 119 
     | 
    
         
            +
            - FIXED: Otlp encoding exceptions again
         
     | 
| 
       112 
120 
     | 
    
         | 
| 
       113 
121 
     | 
    
         
             
            ### v0.20.0 / 2021-06-23
         
     | 
| 
       114 
122 
     | 
    
         | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
      
 123 
     | 
    
         
            +
            - BREAKING CHANGE: Total order constraint on span.status=
         
     | 
| 
       116 
124 
     | 
    
         | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
      
 125 
     | 
    
         
            +
            - FIXED: Total order constraint on span.status=
         
     | 
| 
       118 
126 
     | 
    
         | 
| 
       119 
127 
     | 
    
         
             
            ### v0.19.0 / 2021-06-03
         
     | 
| 
       120 
128 
     | 
    
         | 
| 
       121 
     | 
    
         
            -
             
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
      
 129 
     | 
    
         
            +
            - ADDED: Add a SSL verify mode option for the OTLP exporter
         
     | 
| 
      
 130 
     | 
    
         
            +
            - FIXED: Handle OTLP exporter encoding exceptions
         
     | 
| 
      
 131 
     | 
    
         
            +
            - DOCS: Remove the OTLP receiver legacy gRPC port(55680) references
         
     | 
| 
       124 
132 
     | 
    
         | 
| 
       125 
133 
     | 
    
         
             
            ### v0.18.0 / 2021-05-21
         
     | 
| 
       126 
134 
     | 
    
         | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
      
 135 
     | 
    
         
            +
            - BREAKING CHANGE: Replace Time.now with Process.clock_gettime
         
     | 
| 
       128 
136 
     | 
    
         | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
      
 137 
     | 
    
         
            +
            - FIXED: Replace Time.now with Process.clock_gettime
         
     | 
| 
      
 138 
     | 
    
         
            +
            - FIXED: Rescue missed otlp exporter network errors
         
     | 
| 
       131 
139 
     | 
    
         | 
| 
       132 
140 
     | 
    
         
             
            ### v0.17.0 / 2021-04-22
         
     | 
| 
       133 
141 
     | 
    
         | 
| 
       134 
     | 
    
         
            -
             
     | 
| 
      
 142 
     | 
    
         
            +
            - ADDED: Add zipkin exporter
         
     | 
| 
       135 
143 
     | 
    
         | 
| 
       136 
144 
     | 
    
         
             
            ### v0.16.0 / 2021-03-17
         
     | 
| 
       137 
145 
     | 
    
         | 
| 
       138 
     | 
    
         
            -
             
     | 
| 
      
 146 
     | 
    
         
            +
            - BREAKING CHANGE: Implement Exporter#force_flush
         
     | 
| 
       139 
147 
     | 
    
         | 
| 
       140 
     | 
    
         
            -
             
     | 
| 
       141 
     | 
    
         
            -
             
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
      
 148 
     | 
    
         
            +
            - ADDED: Implement Exporter#force_flush
         
     | 
| 
      
 149 
     | 
    
         
            +
            - FIXED: Rescue socket err in otlp exporter to prevent failures unable to connect
         
     | 
| 
      
 150 
     | 
    
         
            +
            - DOCS: Replace Gitter with GitHub Discussions
         
     | 
| 
       143 
151 
     | 
    
         | 
| 
       144 
152 
     | 
    
         
             
            ### v0.15.0 / 2021-02-18
         
     | 
| 
       145 
153 
     | 
    
         | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
      
 154 
     | 
    
         
            +
            - BREAKING CHANGE: Streamline processor pipeline
         
     | 
| 
       147 
155 
     | 
    
         | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
      
 156 
     | 
    
         
            +
            - ADDED: Add otlp exporter hooks
         
     | 
| 
      
 157 
     | 
    
         
            +
            - FIXED: Streamline processor pipeline
         
     | 
| 
       150 
158 
     | 
    
         | 
| 
       151 
159 
     | 
    
         
             
            ### v0.14.0 / 2021-02-03
         
     | 
| 
       152 
160 
     | 
    
         | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
      
 161 
     | 
    
         
            +
            - (No significant changes)
         
     | 
| 
       154 
162 
     | 
    
         | 
| 
       155 
163 
     | 
    
         
             
            ### v0.13.0 / 2021-01-29
         
     | 
| 
       156 
164 
     | 
    
         | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
      
 165 
     | 
    
         
            +
            - BREAKING CHANGE: Spec compliance for OTLP exporter
         
     | 
| 
       158 
166 
     | 
    
         | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
      
 167 
     | 
    
         
            +
            - ADDED: Add untraced wrapper to common utils
         
     | 
| 
      
 168 
     | 
    
         
            +
            - FIXED: Spec compliance for OTLP exporter
         
     | 
| 
      
 169 
     | 
    
         
            +
            - FIXED: Conditionally append path to collector endpoint
         
     | 
| 
      
 170 
     | 
    
         
            +
            - FIXED: OTLP path should be /v1/traces
         
     | 
| 
      
 171 
     | 
    
         
            +
            - FIXED: Rename OTLP env vars SPAN -> TRACES
         
     | 
| 
       164 
172 
     | 
    
         | 
| 
       165 
173 
     | 
    
         
             
            ### v0.12.1 / 2021-01-13
         
     | 
| 
       166 
174 
     | 
    
         | 
| 
       167 
     | 
    
         
            -
             
     | 
| 
      
 175 
     | 
    
         
            +
            - FIXED: Updated protobuf version dependency
         
     | 
| 
       168 
176 
     | 
    
         | 
| 
       169 
177 
     | 
    
         
             
            ### v0.12.0 / 2020-12-24
         
     | 
| 
       170 
178 
     | 
    
         | 
| 
       171 
     | 
    
         
            -
             
     | 
| 
      
 179 
     | 
    
         
            +
            - (No significant changes)
         
     | 
| 
       172 
180 
     | 
    
         | 
| 
       173 
181 
     | 
    
         
             
            ### v0.11.0 / 2020-12-11
         
     | 
| 
       174 
182 
     | 
    
         | 
| 
       175 
     | 
    
         
            -
             
     | 
| 
      
 183 
     | 
    
         
            +
            - BREAKING CHANGE: Implement tracestate
         
     | 
| 
       176 
184 
     | 
    
         | 
| 
       177 
     | 
    
         
            -
             
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
      
 185 
     | 
    
         
            +
            - ADDED: Implement tracestate
         
     | 
| 
      
 186 
     | 
    
         
            +
            - ADDED: Metrics reporting from trace export
         
     | 
| 
      
 187 
     | 
    
         
            +
            - FIXED: Copyright comments to not reference year
         
     | 
| 
       180 
188 
     | 
    
         | 
| 
       181 
189 
     | 
    
         
             
            ### v0.10.0 / 2020-12-03
         
     | 
| 
       182 
190 
     | 
    
         | 
| 
       183 
     | 
    
         
            -
             
     | 
| 
      
 191 
     | 
    
         
            +
            - (No significant changes)
         
     | 
| 
       184 
192 
     | 
    
         | 
| 
       185 
193 
     | 
    
         
             
            ### v0.9.0 / 2020-11-27
         
     | 
| 
       186 
194 
     | 
    
         | 
| 
       187 
     | 
    
         
            -
             
     | 
| 
      
 195 
     | 
    
         
            +
            - BREAKING CHANGE: Add timeout for force_flush and shutdown
         
     | 
| 
       188 
196 
     | 
    
         | 
| 
       189 
     | 
    
         
            -
             
     | 
| 
       190 
     | 
    
         
            -
             
     | 
| 
      
 197 
     | 
    
         
            +
            - ADDED: Add timeout for force_flush and shutdown
         
     | 
| 
      
 198 
     | 
    
         
            +
            - FIXED: Remove unused kwarg from otlp exporter retry
         
     | 
| 
       191 
199 
     | 
    
         | 
| 
       192 
200 
     | 
    
         
             
            ### v0.8.0 / 2020-10-27
         
     | 
| 
       193 
201 
     | 
    
         | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
      
 202 
     | 
    
         
            +
            - BREAKING CHANGE: Move context/span methods to Trace module
         
     | 
| 
      
 203 
     | 
    
         
            +
            - BREAKING CHANGE: Remove 'canonical' from status codes
         
     | 
| 
      
 204 
     | 
    
         
            +
            - BREAKING CHANGE: Assorted SpanContext fixes
         
     | 
| 
       197 
205 
     | 
    
         | 
| 
       198 
     | 
    
         
            -
             
     | 
| 
       199 
     | 
    
         
            -
             
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
             
     | 
| 
      
 206 
     | 
    
         
            +
            - FIXED: Move context/span methods to Trace module
         
     | 
| 
      
 207 
     | 
    
         
            +
            - FIXED: Remove 'canonical' from status codes
         
     | 
| 
      
 208 
     | 
    
         
            +
            - FIXED: Add gzip support to OTLP exporter
         
     | 
| 
      
 209 
     | 
    
         
            +
            - FIXED: Assorted SpanContext fixes
         
     | 
| 
       202 
210 
     | 
    
         | 
| 
       203 
211 
     | 
    
         
             
            ### v0.7.0 / 2020-10-07
         
     | 
| 
       204 
212 
     | 
    
         | 
| 
       205 
     | 
    
         
            -
             
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
     | 
    
         
            -
             
     | 
| 
       208 
     | 
    
         
            -
             
     | 
| 
      
 213 
     | 
    
         
            +
            - FIXED: OTLP parent_span_id should be nil for root
         
     | 
| 
      
 214 
     | 
    
         
            +
            - DOCS: Fix use of add_event in OTLP doc
         
     | 
| 
      
 215 
     | 
    
         
            +
            - DOCS: Standardize toplevel docs structure and readme
         
     | 
| 
      
 216 
     | 
    
         
            +
            - DOCS: Use BatchSpanProcessor in examples
         
     | 
| 
       209 
217 
     | 
    
         | 
| 
       210 
218 
     | 
    
         
             
            ### v0.6.0 / 2020-09-10
         
     | 
| 
       211 
219 
     | 
    
         | 
| 
       212 
     | 
    
         
            -
             
     | 
| 
      
 220 
     | 
    
         
            +
            - Initial release.
         
     | 
| 
         @@ -103,6 +103,26 @@ module OpenTelemetry 
     | 
|
| 
       103 
103 
     | 
    
         | 
| 
       104 
104 
     | 
    
         
             
                    private
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
      
 106 
     | 
    
         
            +
                    # Builds span flags based on whether the parent span context is remote.
         
     | 
| 
      
 107 
     | 
    
         
            +
                    # This follows the OTLP specification for span flags.
         
     | 
| 
      
 108 
     | 
    
         
            +
                    def build_span_flags(parent_span_is_remote, base_flags)
         
     | 
| 
      
 109 
     | 
    
         
            +
                      # Extract integer value from TraceFlags object if needed
         
     | 
| 
      
 110 
     | 
    
         
            +
                      # Derive the low 8-bit W3C trace flags using the public API.
         
     | 
| 
      
 111 
     | 
    
         
            +
                      base_flags_int =
         
     | 
| 
      
 112 
     | 
    
         
            +
                        if base_flags.sampled?
         
     | 
| 
      
 113 
     | 
    
         
            +
                          1
         
     | 
| 
      
 114 
     | 
    
         
            +
                        else
         
     | 
| 
      
 115 
     | 
    
         
            +
                          0
         
     | 
| 
      
 116 
     | 
    
         
            +
                        end
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
                      has_remote_mask = Opentelemetry::Proto::Trace::V1::SpanFlags::SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK
         
     | 
| 
      
 119 
     | 
    
         
            +
                      is_remote_mask = Opentelemetry::Proto::Trace::V1::SpanFlags::SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
                      flags = base_flags_int | has_remote_mask
         
     | 
| 
      
 122 
     | 
    
         
            +
                      flags |= is_remote_mask if parent_span_is_remote
         
     | 
| 
      
 123 
     | 
    
         
            +
                      flags
         
     | 
| 
      
 124 
     | 
    
         
            +
                    end
         
     | 
| 
      
 125 
     | 
    
         
            +
             
     | 
| 
       106 
126 
     | 
    
         
             
                    def http_connection(uri, ssl_verify_mode, certificate_file, client_certificate_file, client_key_file)
         
     | 
| 
       107 
127 
     | 
    
         
             
                      http = Net::HTTP.new(uri.host, uri.port)
         
     | 
| 
       108 
128 
     | 
    
         
             
                      http.use_ssl = uri.scheme == 'https'
         
     | 
| 
         @@ -336,8 +356,9 @@ module OpenTelemetry 
     | 
|
| 
       336 
356 
     | 
    
         
             
                            trace_id: link.span_context.trace_id,
         
     | 
| 
       337 
357 
     | 
    
         
             
                            span_id: link.span_context.span_id,
         
     | 
| 
       338 
358 
     | 
    
         
             
                            trace_state: link.span_context.tracestate.to_s,
         
     | 
| 
       339 
     | 
    
         
            -
                            attributes: link.attributes&.map { |k, v| as_otlp_key_value(k, v) }
         
     | 
| 
      
 359 
     | 
    
         
            +
                            attributes: link.attributes&.map { |k, v| as_otlp_key_value(k, v) },
         
     | 
| 
       340 
360 
     | 
    
         
             
                            # TODO: track dropped_attributes_count in Span#trim_links
         
     | 
| 
      
 361 
     | 
    
         
            +
                            flags: build_span_flags(link.span_context.remote?, link.span_context.trace_flags)
         
     | 
| 
       341 
362 
     | 
    
         
             
                          )
         
     | 
| 
       342 
363 
     | 
    
         
             
                        end,
         
     | 
| 
       343 
364 
     | 
    
         
             
                        dropped_links_count: span_data.total_recorded_links - span_data.links&.size.to_i,
         
     | 
| 
         @@ -346,7 +367,8 @@ module OpenTelemetry 
     | 
|
| 
       346 
367 
     | 
    
         
             
                            code: as_otlp_status_code(status.code),
         
     | 
| 
       347 
368 
     | 
    
         
             
                            message: status.description
         
     | 
| 
       348 
369 
     | 
    
         
             
                          )
         
     | 
| 
       349 
     | 
    
         
            -
                        end
         
     | 
| 
      
 370 
     | 
    
         
            +
                        end,
         
     | 
| 
      
 371 
     | 
    
         
            +
                        flags: build_span_flags(span_data.parent_span_is_remote, span_data.trace_flags)
         
     | 
| 
       350 
372 
     | 
    
         
             
                      )
         
     | 
| 
       351 
373 
     | 
    
         
             
                    end
         
     | 
| 
       352 
374 
     | 
    
         | 
| 
         @@ -0,0 +1,27 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 3 
     | 
    
         
            +
            # source: opentelemetry/proto/collector/profiles/v1development/profiles_service.proto
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            require 'google/protobuf'
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            require 'opentelemetry/proto/profiles/v1development/profiles_pb'
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            descriptor_data = "\nKopentelemetry/proto/collector/profiles/v1development/profiles_service.proto\x12\x34opentelemetry.proto.collector.profiles.v1development\x1a\x39opentelemetry/proto/profiles/v1development/profiles.proto\"\xcb\x01\n\x1c\x45xportProfilesServiceRequest\x12W\n\x11resource_profiles\x18\x01 \x03(\x0b\x32<.opentelemetry.proto.profiles.v1development.ResourceProfiles\x12R\n\ndictionary\x18\x02 \x01(\x0b\x32>.opentelemetry.proto.profiles.v1development.ProfilesDictionary\"\x8c\x01\n\x1d\x45xportProfilesServiceResponse\x12k\n\x0fpartial_success\x18\x01 \x01(\x0b\x32R.opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess\"P\n\x1c\x45xportProfilesPartialSuccess\x12\x19\n\x11rejected_profiles\x18\x01 \x01(\x03\x12\x15\n\rerror_message\x18\x02 \x01(\t2\xc7\x01\n\x0fProfilesService\x12\xb3\x01\n\x06\x45xport\x12R.opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest\x1aS.opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceResponse\"\x00\x42\xc9\x01\n7io.opentelemetry.proto.collector.profiles.v1developmentB\x14ProfilesServiceProtoP\x01Z?go.opentelemetry.io/proto/otlp/collector/profiles/v1development\xaa\x02\x34OpenTelemetry.Proto.Collector.Profiles.V1Developmentb\x06proto3"
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 13 
     | 
    
         
            +
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            module Opentelemetry
         
     | 
| 
      
 16 
     | 
    
         
            +
              module Proto
         
     | 
| 
      
 17 
     | 
    
         
            +
                module Collector
         
     | 
| 
      
 18 
     | 
    
         
            +
                  module Profiles
         
     | 
| 
      
 19 
     | 
    
         
            +
                    module V1development
         
     | 
| 
      
 20 
     | 
    
         
            +
                      ExportProfilesServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest").msgclass
         
     | 
| 
      
 21 
     | 
    
         
            +
                      ExportProfilesServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceResponse").msgclass
         
     | 
| 
      
 22 
     | 
    
         
            +
                      ExportProfilesPartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess").msgclass
         
     | 
| 
      
 23 
     | 
    
         
            +
                    end
         
     | 
| 
      
 24 
     | 
    
         
            +
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
                end
         
     | 
| 
      
 26 
     | 
    
         
            +
              end
         
     | 
| 
      
 27 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -5,7 +5,7 @@ 
     | 
|
| 
       5 
5 
     | 
    
         
             
            require 'google/protobuf'
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            descriptor_data = "\n*opentelemetry/proto/common/v1/common.proto\x12\x1dopentelemetry.proto.common.v1\"\x8c\x02\n\x08\x41nyValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12@\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32).opentelemetry.proto.common.v1.ArrayValueH\x00\x12\x43\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32+.opentelemetry.proto.common.v1.KeyValueListH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"G\n\x0cKeyValueList\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\"O\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"\x94\x01\n\x14InstrumentationScope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12;\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\ 
     | 
| 
      
 8 
     | 
    
         
            +
            descriptor_data = "\n*opentelemetry/proto/common/v1/common.proto\x12\x1dopentelemetry.proto.common.v1\"\x8c\x02\n\x08\x41nyValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12@\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32).opentelemetry.proto.common.v1.ArrayValueH\x00\x12\x43\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32+.opentelemetry.proto.common.v1.KeyValueListH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"G\n\x0cKeyValueList\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\"O\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"\x94\x01\n\x14InstrumentationScope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12;\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\r\"X\n\tEntityRef\x12\x12\n\nschema_url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x07id_keys\x18\x03 \x03(\t\x12\x18\n\x10\x64\x65scription_keys\x18\x04 \x03(\tB{\n io.opentelemetry.proto.common.v1B\x0b\x43ommonProtoP\x01Z(go.opentelemetry.io/proto/otlp/common/v1\xaa\x02\x1dOpenTelemetry.Proto.Common.V1b\x06proto3"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       11 
11 
     | 
    
         
             
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
         @@ -19,6 +19,7 @@ module Opentelemetry 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    KeyValueList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValueList").msgclass
         
     | 
| 
       20 
20 
     | 
    
         
             
                    KeyValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValue").msgclass
         
     | 
| 
       21 
21 
     | 
    
         
             
                    InstrumentationScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.InstrumentationScope").msgclass
         
     | 
| 
      
 22 
     | 
    
         
            +
                    EntityRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.EntityRef").msgclass
         
     | 
| 
       22 
23 
     | 
    
         
             
                  end
         
     | 
| 
       23 
24 
     | 
    
         
             
                end
         
     | 
| 
       24 
25 
     | 
    
         
             
              end
         
     | 
| 
         @@ -8,7 +8,7 @@ require 'opentelemetry/proto/common/v1/common_pb' 
     | 
|
| 
       8 
8 
     | 
    
         
             
            require 'opentelemetry/proto/resource/v1/resource_pb'
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            descriptor_data = "\n&opentelemetry/proto/logs/v1/logs.proto\x12\x1bopentelemetry.proto.logs.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"L\n\x08LogsData\x12@\n\rresource_logs\x18\x01 \x03(\x0b\x32).opentelemetry.proto.logs.v1.ResourceLogs\"\xa3\x01\n\x0cResourceLogs\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12:\n\nscope_logs\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.ScopeLogs\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\xa0\x01\n\tScopeLogs\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12;\n\x0blog_records\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.LogRecord\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\ 
     | 
| 
      
 11 
     | 
    
         
            +
            descriptor_data = "\n&opentelemetry/proto/logs/v1/logs.proto\x12\x1bopentelemetry.proto.logs.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"L\n\x08LogsData\x12@\n\rresource_logs\x18\x01 \x03(\x0b\x32).opentelemetry.proto.logs.v1.ResourceLogs\"\xa3\x01\n\x0cResourceLogs\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12:\n\nscope_logs\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.ScopeLogs\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\xa0\x01\n\tScopeLogs\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12;\n\x0blog_records\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.LogRecord\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\x83\x03\n\tLogRecord\x12\x16\n\x0etime_unix_nano\x18\x01 \x01(\x06\x12\x1f\n\x17observed_time_unix_nano\x18\x0b \x01(\x06\x12\x44\n\x0fseverity_number\x18\x02 \x01(\x0e\x32+.opentelemetry.proto.logs.v1.SeverityNumber\x12\x15\n\rseverity_text\x18\x03 \x01(\t\x12\x35\n\x04\x62ody\x18\x05 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\x12;\n\nattributes\x18\x06 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x07 \x01(\r\x12\r\n\x05\x66lags\x18\x08 \x01(\x07\x12\x10\n\x08trace_id\x18\t \x01(\x0c\x12\x0f\n\x07span_id\x18\n \x01(\x0c\x12\x12\n\nevent_name\x18\x0c \x01(\tJ\x04\x08\x04\x10\x05*\xc3\x05\n\x0eSeverityNumber\x12\x1f\n\x1bSEVERITY_NUMBER_UNSPECIFIED\x10\x00\x12\x19\n\x15SEVERITY_NUMBER_TRACE\x10\x01\x12\x1a\n\x16SEVERITY_NUMBER_TRACE2\x10\x02\x12\x1a\n\x16SEVERITY_NUMBER_TRACE3\x10\x03\x12\x1a\n\x16SEVERITY_NUMBER_TRACE4\x10\x04\x12\x19\n\x15SEVERITY_NUMBER_DEBUG\x10\x05\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG2\x10\x06\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG3\x10\x07\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG4\x10\x08\x12\x18\n\x14SEVERITY_NUMBER_INFO\x10\t\x12\x19\n\x15SEVERITY_NUMBER_INFO2\x10\n\x12\x19\n\x15SEVERITY_NUMBER_INFO3\x10\x0b\x12\x19\n\x15SEVERITY_NUMBER_INFO4\x10\x0c\x12\x18\n\x14SEVERITY_NUMBER_WARN\x10\r\x12\x19\n\x15SEVERITY_NUMBER_WARN2\x10\x0e\x12\x19\n\x15SEVERITY_NUMBER_WARN3\x10\x0f\x12\x19\n\x15SEVERITY_NUMBER_WARN4\x10\x10\x12\x19\n\x15SEVERITY_NUMBER_ERROR\x10\x11\x12\x1a\n\x16SEVERITY_NUMBER_ERROR2\x10\x12\x12\x1a\n\x16SEVERITY_NUMBER_ERROR3\x10\x13\x12\x1a\n\x16SEVERITY_NUMBER_ERROR4\x10\x14\x12\x19\n\x15SEVERITY_NUMBER_FATAL\x10\x15\x12\x1a\n\x16SEVERITY_NUMBER_FATAL2\x10\x16\x12\x1a\n\x16SEVERITY_NUMBER_FATAL3\x10\x17\x12\x1a\n\x16SEVERITY_NUMBER_FATAL4\x10\x18*Y\n\x0eLogRecordFlags\x12\x1f\n\x1bLOG_RECORD_FLAGS_DO_NOT_USE\x10\x00\x12&\n!LOG_RECORD_FLAGS_TRACE_FLAGS_MASK\x10\xff\x01\x42s\n\x1eio.opentelemetry.proto.logs.v1B\tLogsProtoP\x01Z&go.opentelemetry.io/proto/otlp/logs/v1\xaa\x02\x1bOpenTelemetry.Proto.Logs.V1b\x06proto3"
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       14 
14 
     | 
    
         
             
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
         @@ -8,7 +8,7 @@ require 'opentelemetry/proto/common/v1/common_pb' 
     | 
|
| 
       8 
8 
     | 
    
         
             
            require 'opentelemetry/proto/resource/v1/resource_pb'
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            descriptor_data = "\n,opentelemetry/proto/metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"X\n\x0bMetricsData\x12I\n\x10resource_metrics\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetrics\"\xaf\x01\n\x0fResourceMetrics\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12\x43\n\rscope_metrics\x18\x02 \x03(\x0b\x32,.opentelemetry.proto.metrics.v1.ScopeMetrics\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x9f\x01\n\x0cScopeMetrics\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x37\n\x07metrics\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.metrics.v1.Metric\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\ 
     | 
| 
      
 11 
     | 
    
         
            +
            descriptor_data = "\n,opentelemetry/proto/metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"X\n\x0bMetricsData\x12I\n\x10resource_metrics\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetrics\"\xaf\x01\n\x0fResourceMetrics\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12\x43\n\rscope_metrics\x18\x02 \x03(\x0b\x32,.opentelemetry.proto.metrics.v1.ScopeMetrics\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x9f\x01\n\x0cScopeMetrics\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x37\n\x07metrics\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.metrics.v1.Metric\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\xcd\x03\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04unit\x18\x03 \x01(\t\x12\x36\n\x05gauge\x18\x05 \x01(\x0b\x32%.opentelemetry.proto.metrics.v1.GaugeH\x00\x12\x32\n\x03sum\x18\x07 \x01(\x0b\x32#.opentelemetry.proto.metrics.v1.SumH\x00\x12>\n\thistogram\x18\t \x01(\x0b\x32).opentelemetry.proto.metrics.v1.HistogramH\x00\x12U\n\x15\x65xponential_histogram\x18\n \x01(\x0b\x32\x34.opentelemetry.proto.metrics.v1.ExponentialHistogramH\x00\x12:\n\x07summary\x18\x0b \x01(\x0b\x32\'.opentelemetry.proto.metrics.v1.SummaryH\x00\x12\x39\n\x08metadata\x18\x0c \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValueB\x06\n\x04\x64\x61taJ\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x08\x10\t\"M\n\x05Gauge\x12\x44\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPoint\"\xba\x01\n\x03Sum\x12\x44\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\x12\x14\n\x0cis_monotonic\x18\x03 \x01(\x08\"\xad\x01\n\tHistogram\x12G\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x32.opentelemetry.proto.metrics.v1.HistogramDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\"\xc3\x01\n\x14\x45xponentialHistogram\x12R\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\"P\n\x07Summary\x12\x45\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x30.opentelemetry.proto.metrics.v1.SummaryDataPoint\"\x86\x02\n\x0fNumberDataPoint\x12;\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\x13\n\tas_double\x18\x04 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x06 \x01(\x10H\x00\x12;\n\texemplars\x18\x05 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\r\n\x05\x66lags\x18\x08 \x01(\rB\x07\n\x05valueJ\x04\x08\x01\x10\x02\"\xe6\x02\n\x12HistogramDataPoint\x12;\n\nattributes\x18\t \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x10\n\x03sum\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\rbucket_counts\x18\x06 \x03(\x06\x12\x17\n\x0f\x65xplicit_bounds\x18\x07 \x03(\x01\x12;\n\texemplars\x18\x08 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\r\n\x05\x66lags\x18\n \x01(\r\x12\x10\n\x03min\x18\x0b \x01(\x01H\x01\x88\x01\x01\x12\x10\n\x03max\x18\x0c \x01(\x01H\x02\x88\x01\x01\x42\x06\n\x04_sumB\x06\n\x04_minB\x06\n\x04_maxJ\x04\x08\x01\x10\x02\"\xda\x04\n\x1d\x45xponentialHistogramDataPoint\x12;\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x10\n\x03sum\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12\r\n\x05scale\x18\x06 \x01(\x11\x12\x12\n\nzero_count\x18\x07 \x01(\x06\x12W\n\x08positive\x18\x08 \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets\x12W\n\x08negative\x18\t \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets\x12\r\n\x05\x66lags\x18\n \x01(\r\x12;\n\texemplars\x18\x0b \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\x10\n\x03min\x18\x0c \x01(\x01H\x01\x88\x01\x01\x12\x10\n\x03max\x18\r \x01(\x01H\x02\x88\x01\x01\x12\x16\n\x0ezero_threshold\x18\x0e \x01(\x01\x1a\x30\n\x07\x42uckets\x12\x0e\n\x06offset\x18\x01 \x01(\x11\x12\x15\n\rbucket_counts\x18\x02 \x03(\x04\x42\x06\n\x04_sumB\x06\n\x04_minB\x06\n\x04_max\"\xc5\x02\n\x10SummaryDataPoint\x12;\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x0b\n\x03sum\x18\x05 \x01(\x01\x12Y\n\x0fquantile_values\x18\x06 \x03(\x0b\x32@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile\x12\r\n\x05\x66lags\x18\x08 \x01(\r\x1a\x32\n\x0fValueAtQuantile\x12\x10\n\x08quantile\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01J\x04\x08\x01\x10\x02\"\xc1\x01\n\x08\x45xemplar\x12\x44\n\x13\x66iltered_attributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x16\n\x0etime_unix_nano\x18\x02 \x01(\x06\x12\x13\n\tas_double\x18\x03 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x06 \x01(\x10H\x00\x12\x0f\n\x07span_id\x18\x04 \x01(\x0c\x12\x10\n\x08trace_id\x18\x05 \x01(\x0c\x42\x07\n\x05valueJ\x04\x08\x01\x10\x02*\x8c\x01\n\x16\x41ggregationTemporality\x12\'\n#AGGREGATION_TEMPORALITY_UNSPECIFIED\x10\x00\x12!\n\x1d\x41GGREGATION_TEMPORALITY_DELTA\x10\x01\x12&\n\"AGGREGATION_TEMPORALITY_CUMULATIVE\x10\x02*^\n\x0e\x44\x61taPointFlags\x12\x1f\n\x1b\x44\x41TA_POINT_FLAGS_DO_NOT_USE\x10\x00\x12+\n\'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK\x10\x01\x42\x7f\n!io.opentelemetry.proto.metrics.v1B\x0cMetricsProtoP\x01Z)go.opentelemetry.io/proto/otlp/metrics/v1\xaa\x02\x1eOpenTelemetry.Proto.Metrics.V1b\x06proto3"
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       14 
14 
     | 
    
         
             
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
         @@ -0,0 +1,38 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 3 
     | 
    
         
            +
            # source: opentelemetry/proto/profiles/v1development/profiles.proto
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            require 'google/protobuf'
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            require 'opentelemetry/proto/common/v1/common_pb'
         
     | 
| 
      
 8 
     | 
    
         
            +
            require 'opentelemetry/proto/resource/v1/resource_pb'
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            descriptor_data = "\n9opentelemetry/proto/profiles/v1development/profiles.proto\x12*opentelemetry.proto.profiles.v1development\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"\xf6\x03\n\x12ProfilesDictionary\x12J\n\rmapping_table\x18\x01 \x03(\x0b\x32\x33.opentelemetry.proto.profiles.v1development.Mapping\x12L\n\x0elocation_table\x18\x02 \x03(\x0b\x32\x34.opentelemetry.proto.profiles.v1development.Location\x12L\n\x0e\x66unction_table\x18\x03 \x03(\x0b\x32\x34.opentelemetry.proto.profiles.v1development.Function\x12\x44\n\nlink_table\x18\x04 \x03(\x0b\x32\x30.opentelemetry.proto.profiles.v1development.Link\x12\x14\n\x0cstring_table\x18\x05 \x03(\t\x12T\n\x0f\x61ttribute_table\x18\x06 \x03(\x0b\x32;.opentelemetry.proto.profiles.v1development.KeyValueAndUnit\x12\x46\n\x0bstack_table\x18\x07 \x03(\x0b\x32\x31.opentelemetry.proto.profiles.v1development.Stack\"\xbb\x01\n\x0cProfilesData\x12W\n\x11resource_profiles\x18\x01 \x03(\x0b\x32<.opentelemetry.proto.profiles.v1development.ResourceProfiles\x12R\n\ndictionary\x18\x02 \x01(\x0b\x32>.opentelemetry.proto.profiles.v1development.ProfilesDictionary\"\xbe\x01\n\x10ResourceProfiles\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12Q\n\x0escope_profiles\x18\x02 \x03(\x0b\x32\x39.opentelemetry.proto.profiles.v1development.ScopeProfiles\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\xae\x01\n\rScopeProfiles\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x45\n\x08profiles\x18\x02 \x03(\x0b\x32\x33.opentelemetry.proto.profiles.v1development.Profile\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\xcc\x03\n\x07Profile\x12J\n\x0bsample_type\x18\x01 \x01(\x0b\x32\x35.opentelemetry.proto.profiles.v1development.ValueType\x12\x42\n\x06sample\x18\x02 \x03(\x0b\x32\x32.opentelemetry.proto.profiles.v1development.Sample\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\x15\n\rduration_nano\x18\x04 \x01(\x04\x12J\n\x0bperiod_type\x18\x05 \x01(\x0b\x32\x35.opentelemetry.proto.profiles.v1development.ValueType\x12\x0e\n\x06period\x18\x06 \x01(\x03\x12\x1a\n\x12\x63omment_strindices\x18\x07 \x03(\x05\x12\x12\n\nprofile_id\x18\x08 \x01(\x0c\x12 \n\x18\x64ropped_attributes_count\x18\t \x01(\r\x12\x1f\n\x17original_payload_format\x18\n \x01(\t\x12\x18\n\x10original_payload\x18\x0b \x01(\x0c\x12\x19\n\x11\x61ttribute_indices\x18\x0c \x03(\x05\")\n\x04Link\x12\x10\n\x08trace_id\x18\x01 \x01(\x0c\x12\x0f\n\x07span_id\x18\x02 \x01(\x0c\"\x9e\x01\n\tValueType\x12\x15\n\rtype_strindex\x18\x01 \x01(\x05\x12\x15\n\runit_strindex\x18\x02 \x01(\x05\x12\x63\n\x17\x61ggregation_temporality\x18\x03 \x01(\x0e\x32\x42.opentelemetry.proto.profiles.v1development.AggregationTemporality\"z\n\x06Sample\x12\x13\n\x0bstack_index\x18\x01 \x01(\x05\x12\x0e\n\x06values\x18\x02 \x03(\x03\x12\x19\n\x11\x61ttribute_indices\x18\x03 \x03(\x05\x12\x12\n\nlink_index\x18\x04 \x01(\x05\x12\x1c\n\x14timestamps_unix_nano\x18\x05 \x03(\x06\"\x80\x01\n\x07Mapping\x12\x14\n\x0cmemory_start\x18\x01 \x01(\x04\x12\x14\n\x0cmemory_limit\x18\x02 \x01(\x04\x12\x13\n\x0b\x66ile_offset\x18\x03 \x01(\x04\x12\x19\n\x11\x66ilename_strindex\x18\x04 \x01(\x05\x12\x19\n\x11\x61ttribute_indices\x18\x05 \x03(\x05\"!\n\x05Stack\x12\x18\n\x10location_indices\x18\x01 \x03(\x05\"\x8d\x01\n\x08Location\x12\x15\n\rmapping_index\x18\x01 \x01(\x05\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\x04\x12>\n\x04line\x18\x03 \x03(\x0b\x32\x30.opentelemetry.proto.profiles.v1development.Line\x12\x19\n\x11\x61ttribute_indices\x18\x04 \x03(\x05\"<\n\x04Line\x12\x16\n\x0e\x66unction_index\x18\x01 \x01(\x05\x12\x0c\n\x04line\x18\x02 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x03\"n\n\x08\x46unction\x12\x15\n\rname_strindex\x18\x01 \x01(\x05\x12\x1c\n\x14system_name_strindex\x18\x02 \x01(\x05\x12\x19\n\x11\x66ilename_strindex\x18\x03 \x01(\x05\x12\x12\n\nstart_line\x18\x04 \x01(\x03\"v\n\x0fKeyValueAndUnit\x12\x14\n\x0ckey_strindex\x18\x01 \x01(\x05\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\x12\x15\n\runit_strindex\x18\x03 \x01(\x05*\x8c\x01\n\x16\x41ggregationTemporality\x12\'\n#AGGREGATION_TEMPORALITY_UNSPECIFIED\x10\x00\x12!\n\x1d\x41GGREGATION_TEMPORALITY_DELTA\x10\x01\x12&\n\"AGGREGATION_TEMPORALITY_CUMULATIVE\x10\x02\x42\xa4\x01\n-io.opentelemetry.proto.profiles.v1developmentB\rProfilesProtoP\x01Z5go.opentelemetry.io/proto/otlp/profiles/v1development\xaa\x02*OpenTelemetry.Proto.Profiles.V1Developmentb\x06proto3"
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 14 
     | 
    
         
            +
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            module Opentelemetry
         
     | 
| 
      
 17 
     | 
    
         
            +
              module Proto
         
     | 
| 
      
 18 
     | 
    
         
            +
                module Profiles
         
     | 
| 
      
 19 
     | 
    
         
            +
                  module V1development
         
     | 
| 
      
 20 
     | 
    
         
            +
                    ProfilesDictionary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.ProfilesDictionary").msgclass
         
     | 
| 
      
 21 
     | 
    
         
            +
                    ProfilesData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.ProfilesData").msgclass
         
     | 
| 
      
 22 
     | 
    
         
            +
                    ResourceProfiles = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.ResourceProfiles").msgclass
         
     | 
| 
      
 23 
     | 
    
         
            +
                    ScopeProfiles = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.ScopeProfiles").msgclass
         
     | 
| 
      
 24 
     | 
    
         
            +
                    Profile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Profile").msgclass
         
     | 
| 
      
 25 
     | 
    
         
            +
                    Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Link").msgclass
         
     | 
| 
      
 26 
     | 
    
         
            +
                    ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.ValueType").msgclass
         
     | 
| 
      
 27 
     | 
    
         
            +
                    Sample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Sample").msgclass
         
     | 
| 
      
 28 
     | 
    
         
            +
                    Mapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Mapping").msgclass
         
     | 
| 
      
 29 
     | 
    
         
            +
                    Stack = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Stack").msgclass
         
     | 
| 
      
 30 
     | 
    
         
            +
                    Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Location").msgclass
         
     | 
| 
      
 31 
     | 
    
         
            +
                    Line = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Line").msgclass
         
     | 
| 
      
 32 
     | 
    
         
            +
                    Function = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.Function").msgclass
         
     | 
| 
      
 33 
     | 
    
         
            +
                    KeyValueAndUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.KeyValueAndUnit").msgclass
         
     | 
| 
      
 34 
     | 
    
         
            +
                    AggregationTemporality = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.profiles.v1development.AggregationTemporality").enummodule
         
     | 
| 
      
 35 
     | 
    
         
            +
                  end
         
     | 
| 
      
 36 
     | 
    
         
            +
                end
         
     | 
| 
      
 37 
     | 
    
         
            +
              end
         
     | 
| 
      
 38 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -7,7 +7,7 @@ require 'google/protobuf' 
     | 
|
| 
       7 
7 
     | 
    
         
             
            require 'opentelemetry/proto/common/v1/common_pb'
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            descriptor_data = "\n.opentelemetry/proto/resource/v1/resource.proto\x12\x1fopentelemetry.proto.resource.v1\x1a*opentelemetry/proto/common/v1/common.proto\" 
     | 
| 
      
 10 
     | 
    
         
            +
            descriptor_data = "\n.opentelemetry/proto/resource/v1/resource.proto\x12\x1fopentelemetry.proto.resource.v1\x1a*opentelemetry/proto/common/v1/common.proto\"\xa8\x01\n\x08Resource\x12;\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x02 \x01(\r\x12=\n\x0b\x65ntity_refs\x18\x03 \x03(\x0b\x32(.opentelemetry.proto.common.v1.EntityRefB\x83\x01\n\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\x01Z*go.opentelemetry.io/proto/otlp/resource/v1\xaa\x02\x1fOpenTelemetry.Proto.Resource.V1b\x06proto3"
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       13 
13 
     | 
    
         
             
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
         @@ -8,7 +8,7 @@ require 'opentelemetry/proto/common/v1/common_pb' 
     | 
|
| 
       8 
8 
     | 
    
         
             
            require 'opentelemetry/proto/resource/v1/resource_pb'
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
            descriptor_data = "\n(opentelemetry/proto/trace/v1/trace.proto\x12\x1copentelemetry.proto.trace.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"Q\n\nTracesData\x12\x43\n\x0eresource_spans\x18\x01 \x03(\x0b\x32+.opentelemetry.proto.trace.v1.ResourceSpans\"\xa7\x01\n\rResourceSpans\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12=\n\x0bscope_spans\x18\x02 \x03(\x0b\x32(.opentelemetry.proto.trace.v1.ScopeSpans\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x97\x01\n\nScopeSpans\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x31\n\x05spans\x18\x02 \x03(\x0b\x32\".opentelemetry.proto.trace.v1.Span\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\ 
     | 
| 
      
 11 
     | 
    
         
            +
            descriptor_data = "\n(opentelemetry/proto/trace/v1/trace.proto\x12\x1copentelemetry.proto.trace.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"Q\n\nTracesData\x12\x43\n\x0eresource_spans\x18\x01 \x03(\x0b\x32+.opentelemetry.proto.trace.v1.ResourceSpans\"\xa7\x01\n\rResourceSpans\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12=\n\x0bscope_spans\x18\x02 \x03(\x0b\x32(.opentelemetry.proto.trace.v1.ScopeSpans\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x97\x01\n\nScopeSpans\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x31\n\x05spans\x18\x02 \x03(\x0b\x32\".opentelemetry.proto.trace.v1.Span\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\x84\x08\n\x04Span\x12\x10\n\x08trace_id\x18\x01 \x01(\x0c\x12\x0f\n\x07span_id\x18\x02 \x01(\x0c\x12\x13\n\x0btrace_state\x18\x03 \x01(\t\x12\x16\n\x0eparent_span_id\x18\x04 \x01(\x0c\x12\r\n\x05\x66lags\x18\x10 \x01(\x07\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x39\n\x04kind\x18\x06 \x01(\x0e\x32+.opentelemetry.proto.trace.v1.Span.SpanKind\x12\x1c\n\x14start_time_unix_nano\x18\x07 \x01(\x06\x12\x1a\n\x12\x65nd_time_unix_nano\x18\x08 \x01(\x06\x12;\n\nattributes\x18\t \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\n \x01(\r\x12\x38\n\x06\x65vents\x18\x0b \x03(\x0b\x32(.opentelemetry.proto.trace.v1.Span.Event\x12\x1c\n\x14\x64ropped_events_count\x18\x0c \x01(\r\x12\x36\n\x05links\x18\r \x03(\x0b\x32\'.opentelemetry.proto.trace.v1.Span.Link\x12\x1b\n\x13\x64ropped_links_count\x18\x0e \x01(\r\x12\x34\n\x06status\x18\x0f \x01(\x0b\x32$.opentelemetry.proto.trace.v1.Status\x1a\x8c\x01\n\x05\x45vent\x12\x16\n\x0etime_unix_nano\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12;\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\r\x1a\xac\x01\n\x04Link\x12\x10\n\x08trace_id\x18\x01 \x01(\x0c\x12\x0f\n\x07span_id\x18\x02 \x01(\x0c\x12\x13\n\x0btrace_state\x18\x03 \x01(\t\x12;\n\nattributes\x18\x04 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x05 \x01(\r\x12\r\n\x05\x66lags\x18\x06 \x01(\x07\"\x99\x01\n\x08SpanKind\x12\x19\n\x15SPAN_KIND_UNSPECIFIED\x10\x00\x12\x16\n\x12SPAN_KIND_INTERNAL\x10\x01\x12\x14\n\x10SPAN_KIND_SERVER\x10\x02\x12\x14\n\x10SPAN_KIND_CLIENT\x10\x03\x12\x16\n\x12SPAN_KIND_PRODUCER\x10\x04\x12\x16\n\x12SPAN_KIND_CONSUMER\x10\x05\"\xae\x01\n\x06Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12=\n\x04\x63ode\x18\x03 \x01(\x0e\x32/.opentelemetry.proto.trace.v1.Status.StatusCode\"N\n\nStatusCode\x12\x15\n\x11STATUS_CODE_UNSET\x10\x00\x12\x12\n\x0eSTATUS_CODE_OK\x10\x01\x12\x15\n\x11STATUS_CODE_ERROR\x10\x02J\x04\x08\x01\x10\x02*\x9c\x01\n\tSpanFlags\x12\x19\n\x15SPAN_FLAGS_DO_NOT_USE\x10\x00\x12 \n\x1bSPAN_FLAGS_TRACE_FLAGS_MASK\x10\xff\x01\x12*\n%SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK\x10\x80\x02\x12&\n!SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK\x10\x80\x04\x42w\n\x1fio.opentelemetry.proto.trace.v1B\nTraceProtoP\x01Z\'go.opentelemetry.io/proto/otlp/trace/v1\xaa\x02\x1cOpenTelemetry.Proto.Trace.V1b\x06proto3"
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       14 
14 
     | 
    
         
             
            pool.add_serialized_file(descriptor_data)
         
     | 
| 
         @@ -26,6 +26,7 @@ module Opentelemetry 
     | 
|
| 
       26 
26 
     | 
    
         
             
                    Span::SpanKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span.SpanKind").enummodule
         
     | 
| 
       27 
27 
     | 
    
         
             
                    Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Status").msgclass
         
     | 
| 
       28 
28 
     | 
    
         
             
                    Status::StatusCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Status.StatusCode").enummodule
         
     | 
| 
      
 29 
     | 
    
         
            +
                    SpanFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.SpanFlags").enummodule
         
     | 
| 
       29 
30 
     | 
    
         
             
                  end
         
     | 
| 
       30 
31 
     | 
    
         
             
                end
         
     | 
| 
       31 
32 
     | 
    
         
             
              end
         
     | 
    
        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.31.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - OpenTelemetry Authors
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-10-14 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: googleapis-common-protos-types
         
     | 
| 
         @@ -206,6 +206,62 @@ dependencies: 
     | 
|
| 
       206 
206 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       207 
207 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       208 
208 
     | 
    
         
             
                    version: '1.65'
         
     | 
| 
      
 209 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 210 
     | 
    
         
            +
              name: rubocop-minitest
         
     | 
| 
      
 211 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 212 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 213 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 214 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 215 
     | 
    
         
            +
                    version: 0.38.0
         
     | 
| 
      
 216 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 217 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 218 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 219 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 220 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 221 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 222 
     | 
    
         
            +
                    version: 0.38.0
         
     | 
| 
      
 223 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 224 
     | 
    
         
            +
              name: rubocop-performance
         
     | 
| 
      
 225 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 226 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 227 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 228 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 229 
     | 
    
         
            +
                    version: '1.25'
         
     | 
| 
      
 230 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 231 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 232 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 233 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 234 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 235 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 236 
     | 
    
         
            +
                    version: '1.25'
         
     | 
| 
      
 237 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 238 
     | 
    
         
            +
              name: rubocop-rake
         
     | 
| 
      
 239 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 240 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 241 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 242 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 243 
     | 
    
         
            +
                    version: 0.7.1
         
     | 
| 
      
 244 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 245 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 246 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 247 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 248 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 249 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 250 
     | 
    
         
            +
                    version: 0.7.1
         
     | 
| 
      
 251 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 252 
     | 
    
         
            +
              name: rubocop-rspec
         
     | 
| 
      
 253 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 254 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 255 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 256 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 257 
     | 
    
         
            +
                    version: '3.5'
         
     | 
| 
      
 258 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 259 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 260 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 261 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 262 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 263 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 264 
     | 
    
         
            +
                    version: '3.5'
         
     | 
| 
       209 
265 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       210 
266 
     | 
    
         
             
              name: simplecov
         
     | 
| 
       211 
267 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -226,14 +282,14 @@ dependencies: 
     | 
|
| 
       226 
282 
     | 
    
         
             
                requirements:
         
     | 
| 
       227 
283 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       228 
284 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       229 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 285 
     | 
    
         
            +
                    version: '3.24'
         
     | 
| 
       230 
286 
     | 
    
         
             
              type: :development
         
     | 
| 
       231 
287 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       232 
288 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       233 
289 
     | 
    
         
             
                requirements:
         
     | 
| 
       234 
290 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       235 
291 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       236 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 292 
     | 
    
         
            +
                    version: '3.24'
         
     | 
| 
       237 
293 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       238 
294 
     | 
    
         
             
              name: yard
         
     | 
| 
       239 
295 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -279,21 +335,23 @@ files: 
     | 
|
| 
       279 
335 
     | 
    
         
             
            - lib/opentelemetry/exporter/otlp/version.rb
         
     | 
| 
       280 
336 
     | 
    
         
             
            - lib/opentelemetry/proto/collector/logs/v1/logs_service_pb.rb
         
     | 
| 
       281 
337 
     | 
    
         
             
            - lib/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.rb
         
     | 
| 
      
 338 
     | 
    
         
            +
            - lib/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.rb
         
     | 
| 
       282 
339 
     | 
    
         
             
            - lib/opentelemetry/proto/collector/trace/v1/trace_service_pb.rb
         
     | 
| 
       283 
340 
     | 
    
         
             
            - lib/opentelemetry/proto/common/v1/common_pb.rb
         
     | 
| 
       284 
341 
     | 
    
         
             
            - lib/opentelemetry/proto/logs/v1/logs_pb.rb
         
     | 
| 
       285 
342 
     | 
    
         
             
            - lib/opentelemetry/proto/metrics/v1/metrics_pb.rb
         
     | 
| 
      
 343 
     | 
    
         
            +
            - lib/opentelemetry/proto/profiles/v1development/profiles_pb.rb
         
     | 
| 
       286 
344 
     | 
    
         
             
            - lib/opentelemetry/proto/resource/v1/resource_pb.rb
         
     | 
| 
       287 
345 
     | 
    
         
             
            - lib/opentelemetry/proto/trace/v1/trace_pb.rb
         
     | 
| 
       288 
346 
     | 
    
         
             
            homepage: https://github.com/open-telemetry/opentelemetry-ruby
         
     | 
| 
       289 
347 
     | 
    
         
             
            licenses:
         
     | 
| 
       290 
348 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       291 
349 
     | 
    
         
             
            metadata:
         
     | 
| 
       292 
     | 
    
         
            -
              changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0. 
     | 
| 
      
 350 
     | 
    
         
            +
              changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.31.0/file.CHANGELOG.html
         
     | 
| 
       293 
351 
     | 
    
         
             
              source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
         
     | 
| 
       294 
352 
     | 
    
         
             
              bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
         
     | 
| 
       295 
     | 
    
         
            -
              documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0. 
     | 
| 
       296 
     | 
    
         
            -
            post_install_message: 
     | 
| 
      
 353 
     | 
    
         
            +
              documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.31.0
         
     | 
| 
      
 354 
     | 
    
         
            +
            post_install_message:
         
     | 
| 
       297 
355 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       298 
356 
     | 
    
         
             
            require_paths:
         
     | 
| 
       299 
357 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -301,15 +359,15 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       301 
359 
     | 
    
         
             
              requirements:
         
     | 
| 
       302 
360 
     | 
    
         
             
              - - ">="
         
     | 
| 
       303 
361 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       304 
     | 
    
         
            -
                  version: '3. 
     | 
| 
      
 362 
     | 
    
         
            +
                  version: '3.1'
         
     | 
| 
       305 
363 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       306 
364 
     | 
    
         
             
              requirements:
         
     | 
| 
       307 
365 
     | 
    
         
             
              - - ">="
         
     | 
| 
       308 
366 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       309 
367 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       310 
368 
     | 
    
         
             
            requirements: []
         
     | 
| 
       311 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       312 
     | 
    
         
            -
            signing_key: 
     | 
| 
      
 369 
     | 
    
         
            +
            rubygems_version: 3.3.27
         
     | 
| 
      
 370 
     | 
    
         
            +
            signing_key:
         
     | 
| 
       313 
371 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       314 
372 
     | 
    
         
             
            summary: OTLP exporter for the OpenTelemetry framework
         
     | 
| 
       315 
373 
     | 
    
         
             
            test_files: []
         
     |