Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Trace exporter implemetation #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
/docs/_site
/docs/Gemfile.lock
/docs/api/
.ruby-version
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AllCops:
- "test/**/*"
- "docs/**/*"
- "tmp/**/*"
- "lib/opencensus/proto/**/*"
TargetRubyVersion: 2.3
Documentation:
Enabled: false
Expand Down
1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--markup markdown
--markup-provider redcarpet
--main=README.md
--exclude _pb\.rb$

./lib/**/*.rb
-
Expand Down
14 changes: 14 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,18 @@ YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc'] # optional
end

desc "Start an interactive shell."
task :console do
require "irb"
require "irb/completion"
require "pp"

$LOAD_PATH.unshift "lib"

require "opencensus-ocagent"

ARGV.clear
IRB.start
end

task :default => [:test, :rubocop, :yard]
1 change: 1 addition & 0 deletions lib/opencensus/ocagent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ module OCAgent

require "opencensus/ocagent/version"
require "opencensus/trace/exporters/ocagent"
require "opencensus/trace/exporters/ocagent/sampler"
55 changes: 55 additions & 0 deletions lib/opencensus/proto/agent/common/v1/common_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions lib/opencensus/proto/agent/metrics/v1/metrics_service_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions lib/opencensus/proto/agent/trace/v1/trace_service_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 55 additions & 0 deletions lib/opencensus/proto/agent/trace/v1/trace_service_services_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

116 changes: 116 additions & 0 deletions lib/opencensus/proto/metrics/v1/metrics_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading