Skip to content

Commit bb666ec

Browse files
Merge branch 'main' into pr-1404-3
2 parents ec24f21 + c5395f9 commit bb666ec

File tree

26 files changed

+894
-7
lines changed

26 files changed

+894
-7
lines changed

.github/workflows/ci-contrib.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
fail-fast: false
111111
matrix:
112112
gem:
113+
- resource-detector-aws
113114
- resource-detector-azure
114115
- resource-detector-container
115116
- resource-detector-google_cloud_platform

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
46+
uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
4747
with:
4848
sarif_file: results.sarif

.toys/.data/releases.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ gems:
241241
directory: propagator/xray
242242
version_constant: [OpenTelemetry, Propagator, XRay, VERSION]
243243

244+
- name: opentelemetry-resource-detector-aws
245+
directory: resources/aws
246+
version_rb_path: lib/opentelemetry/resource/detector/aws/version.rb
247+
version_constant: [OpenTelemetry, Resource, Detector, AWS, VERSION]
248+
244249
- name: opentelemetry-resource-detector-azure
245250
directory: resources/azure
246251
version_rb_path: lib/opentelemetry/resource/detector/azure/version.rb

instrumentation/all/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ group :test do
2929
.sort
3030
.each { |dir| gem "opentelemetry-helpers-#{dir}", path: "../../helpers/#{dir}" }
3131

32-
excluded_instrumentations = %w[. .. all grpc]
32+
excluded_instrumentations = %w[. .. all]
3333
Dir.entries('../')
3434
.select { |entry| File.directory?(File.join('../', entry)) }
3535
.reject { |entry| excluded_instrumentations.include?(entry) }

instrumentation/all/lib/opentelemetry/instrumentation/all.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
require 'opentelemetry-instrumentation-faraday'
2929
require 'opentelemetry-instrumentation-grape'
3030
require 'opentelemetry-instrumentation-graphql'
31+
require 'opentelemetry-instrumentation-grpc'
3132
require 'opentelemetry-instrumentation-http_client'
3233
require 'opentelemetry-instrumentation-mongo'
3334
require 'opentelemetry-instrumentation-mysql2'

instrumentation/all/opentelemetry-instrumentation-all.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
3838
spec.add_dependency 'opentelemetry-instrumentation-faraday', '~> 0.26.0'
3939
spec.add_dependency 'opentelemetry-instrumentation-grape', '~> 0.3.0'
4040
spec.add_dependency 'opentelemetry-instrumentation-graphql', '~> 0.29.0'
41+
spec.add_dependency 'opentelemetry-instrumentation-grpc', '~> 0.2.0'
4142
spec.add_dependency 'opentelemetry-instrumentation-gruf', '~> 0.3.0'
4243
spec.add_dependency 'opentelemetry-instrumentation-http', '~> 0.24.0'
4344
spec.add_dependency 'opentelemetry-instrumentation-http_client', '~> 0.23.0'

instrumentation/grpc/example/trace_demonstration.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
require_relative './proto/example_api_services_pb'
2-
require_relative './example_impl'
3-
41
require 'bundler/inline'
52

63
gemfile do
@@ -12,6 +9,9 @@
129
gem 'opentelemetry-sdk'
1310
end
1411

12+
require_relative 'proto/example_api_services_pb'
13+
require_relative 'example_impl'
14+
1515
ENV['OTEL_TRACES_EXPORTER'] = 'console'
1616
OpenTelemetry::SDK.configure do |c|
1717
c.use 'OpenTelemetry::Instrumentation::Grpc'

instrumentation/grpc/lib/opentelemetry/instrumentation/grpc.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ class Error < StandardError; end
1818

1919
require_relative 'grpc/instrumentation'
2020
require_relative 'grpc/version'
21-
require_relative 'grpc/interceptors/client_tracer'

instrumentation/grpc/test/opentelemetry/instrumentation/grpc/interceptors/client_tracer_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
require_relative '../../../../test_helper'
88
require_relative '../../../../support/grpc_server_runner'
9+
require_relative '../../../../../lib/opentelemetry/instrumentation/grpc/interceptors/client_tracer'
910

1011
describe OpenTelemetry::Instrumentation::Grpc::Interceptors::ClientTracer do
1112
let(:instrumentation) { OpenTelemetry::Instrumentation::Grpc::Instrumentation.instance }

instrumentation/grpc/test/support/proto/ping_services_pb.rb

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)