Commit Graph

840 Commits

Author SHA1 Message Date
Yang Song ff86f96dc1
Metrics: Add cumulative API. (#168) 2019-04-19 17:45:14 -07:00
Bogdan Drutu f6e44119b7
Move views to sdk (instrumentation does not need to register views). (#166) 2019-04-19 12:07:06 -07:00
Sergey Kanzhelev 464469fe79
Clean up grpc spec for the merged project (#160)
* initial move of a file

* clean up grpc doc

* note about existing integrations

* move back so it's easier to compare

* Update gRPC.md
2019-04-19 10:50:02 -07:00
Bogdan Drutu 69cfb8b27d
Remove unnecessary metric data from the API. In the SDK we use protos. (#164) 2019-04-19 10:17:24 -07:00
Sergey Kanzhelev 1c7f7ef316
removed span kind and error (#161) 2019-04-19 09:57:31 -07:00
Carlos Alberto Cortez d30e18774b
Remove ProbabilitySampler.java (#109) 2019-04-19 18:08:22 +02:00
Bogdan Drutu a97963b468
Add getter on the TagMap. (#165) 2019-04-19 09:05:32 -07:00
Carlos Alberto Cortez 4e5f51cad1
Make SpanContext.INVALID package private and rename it. (#158)
* Make SpanContext.INVALID package private.
* Renamed SpanContext.INVALID to SpanContext.BLANK.
2019-04-19 18:03:13 +02:00
Sergey Kanzhelev 0a928d5641
raw files from opencensus regarding stats from rpc (#163) 2019-04-18 17:01:43 -07:00
Bogdan Drutu 58b58c7fbe
Move all propagation formats to context and remove from the package. (#159) 2019-04-18 14:55:55 -07:00
Bogdan Drutu 81147b587d
Remove metric component. (#157) 2019-04-18 13:15:19 -07:00
Bogdan Drutu 8b59c92957
Add all the limits to the trace config proto. (#153) 2019-04-18 12:58:13 -07:00
Bogdan Drutu 231e7fa73d
Cleanup ids in trace proto. (#152) 2019-04-18 12:58:02 -07:00
Bogdan Drutu 62728d9002
Cleanup exceptions and comments for binary formatters. (#154) 2019-04-18 12:48:03 -07:00
Bogdan Drutu 93f43fb940
Move SpanData to main API and add Resource. (#138) 2019-04-18 12:21:04 -07:00
Bogdan Drutu 6443bc96cf
Refactor stats API to remove unnecessary MeasureMap (confusing name as well). (#139) 2019-04-18 12:20:43 -07:00
Sergey Kanzhelev 6227450c16
raw copies of metadata docs (#151) 2019-04-18 10:52:55 -07:00
Bogdan Drutu 8b61ddfc9f
Move TextFormat in the context. (#133)
* Move TextFormat in the context.

* Fix the shim to not expect exception.
2019-04-18 10:51:42 -07:00
Carlos Alberto Cortez 1d8bdd04d2 Do set the Span name for the OT shim. (#150) 2019-04-18 10:50:37 -07:00
Carlos Alberto Cortez f33cc0b94f
Support child/parent Span setup for the OT shim. (#142) 2019-04-18 16:54:10 +02:00
Bogdan Drutu 7fe950b571
Cleanup copyright and package. (#149) 2019-04-17 16:30:35 -07:00
Bogdan Drutu 41880780af
Move start_time to point to be compatible with OpenMetrics. (#148) 2019-04-17 16:18:21 -07:00
Bogdan Drutu 527e55b2b4
Remove type from the resource. (#145)
* Remove type from the resource.

* Fix id for resource lables.
2019-04-17 16:09:17 -07:00
Bogdan Drutu 0563c01676
Remove unused field from span proto. (#140) 2019-04-17 16:02:51 -07:00
Bogdan Drutu 4ace15cf79
Remove type from links. (#144) 2019-04-17 16:02:28 -07:00
Bogdan Drutu a3cd8732c6
Remove MessageEvent from the Span proto. (#141) 2019-04-17 14:51:24 -07:00
Bogdan Drutu af4ca5abd0
Remove unnecessary comment about Status in SpanData. (#136) 2019-04-17 14:19:27 -07:00
Bogdan Drutu 6928ae2946
Copy the current OpenCensus protos. (#134)
* Copy the current OpenCensus protos.

* Update protobuf and grpc

* Remove jmh.
2019-04-17 14:07:12 -07:00
Bogdan Drutu e286cf0811
Update to gradle 5.3 (#137) 2019-04-17 13:49:43 -07:00
Yang Song 0ff8127452
Expose noop implementations. (#129) 2019-04-17 09:49:38 -07:00
Bogdan Drutu 067d03a563
Remove checker framework. (#135) 2019-04-17 09:37:05 -07:00
Yang Song ed38ca9de3
Initial commit for OpenCensus Shim. (#131) 2019-04-16 14:18:45 -07:00
Bogdan Drutu 1f036ad190
Rename Tracing to Trace to match other packages. (#125) 2019-04-16 10:33:57 -07:00
Bogdan Drutu 2c9ac90097
Remove notion about dropped events, links, attributes from SpanData. (#123) 2019-04-16 08:45:52 -07:00
Bogdan Drutu 1103010c9c
Remove MessageEvent and make Event extensible. (#81)
* Remove MessageEvent and make Event extensible.

* Add ImmutableEvent as the default implementation for Event.

* Move back to Event the create methods.
2019-04-15 16:06:12 -07:00
Bogdan Drutu 58ab2c17c0
Move back AttributeValue and Status from data to the main package. (#122) 2019-04-15 14:33:54 -07:00
Carlos Alberto Cortez 31b70a74e9
Add initial inject/extract support for the OT shim. (#39)
* Add initial TextMap/Binary propagation support.
2019-04-15 22:22:56 +02:00
Bogdan Drutu e4e5f05556
Remove StatsComponent. (#121) 2019-04-15 12:35:56 -07:00
Bogdan Drutu 05bc59a273
Remove components from tags. (#117) 2019-04-15 09:18:36 -07:00
Bogdan Drutu cbe4187f84
Cleanup SpanBuilder add links API. (#115) 2019-04-15 09:18:13 -07:00
Bogdan Drutu 1f5f216cb5
Remove components from trace. (#120) 2019-04-15 09:16:27 -07:00
Carlos Alberto Cortez 37a7d2e394
Stash the error value for SpanBuilder. (#106)
Use this later, when the actual Span gets built.
2019-04-15 16:59:37 +02:00
Carlos Alberto Cortez 587bc4417f
Add Span.updateName(). (#27)
* Add Span.updateName().
* Mention that any sampling after Span.updateName() will be implementation-specific.
2019-04-15 16:50:41 +02:00
Bogdan Drutu f7fa9740d3
Update the PropagationComponent to expose implementation specific formats. (#113)
* Update the PropagationComponent to expose implementation specifc formats.

* Run $./gradlew goJF
2019-04-14 11:23:50 -07:00
Bogdan Drutu b06d642293
Remove long values from stats, not too much value added, only complexity. (#114) 2019-04-14 11:04:11 -07:00
Bogdan Drutu e313e97821
Remove type from resource, this is a bit confusing with the merge logic. (#116)
* Remove type from resource, this is a bit confusing with the merge logic.

* Fix Nullable annotations.
2019-04-14 10:15:10 -07:00
Carlos Alberto Cortez b85ed4954d Clarify that sampling on Span is merely a hint. (#110)
* Clarify that sampling on a Span is merely a hint.

* Put the setSampler() clarification in the main doc body.
2019-04-13 09:25:20 -07:00
Bogdan Drutu 3e92c77f1f
Remove the type from links, and add SpanContext. (#98) 2019-04-10 15:29:30 -07:00
Bogdan Drutu 5a09274dbe
Make the propagation fromat classes consistent. (#102) 2019-04-10 14:42:53 -07:00
Bogdan Drutu 333868b9ba
Clean noop implementation. (#97) 2019-04-10 14:23:41 -07:00