Commit Graph

2947 Commits

Author SHA1 Message Date
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
Bogdan Drutu cff608d524
Remove todos and experimental. (#100) 2019-04-10 14:23:27 -07:00
Yang Song 13c307649d
Add HTTP text serializer API for TagMap. (#101) 2019-04-10 14:02:00 -07:00
Yang Song ddfbb67e2f
Move Noop Metrics implementation to one class. (#93) 2019-04-10 11:41:52 -07:00
Yang Song 080d2cc85b
Remove singleton in NoopTags. (#91) 2019-04-10 10:58:28 -07:00
Yang Song 355ebf719e
Move Noop Trace implementation to one class. (#88)
* Move Noop Trace implementation to one class.

* Remove singleton.
2019-04-10 10:56:30 -07:00
Yang Song 850f4bf9ba
Use Span.Kind.INTERNAL as default. (#94)
* Use Span.Kind.INTERNAL as default.

* Make SpanKind required in SpanData.
2019-04-10 10:03:48 -07:00
Yang Song 5f26a636c7
Add MetricOptions to build Double/Long Gauge. (#92)
* Add MetricOptions to build Double/Long Gauge.

* Expose ConstantLabels option.
2019-04-10 09:50:53 -07:00
Yang Song 96f2af3ec2
Rename all TagContext* to TagMap*. (#95) 2019-04-10 09:32:53 -07:00
Bogdan Drutu e1628e4e4e
Specialized the setAttribute to avoid one allocation. (#77)
* Specialized the setAttribute to avoid one allocation.

* Add back the setAttribute with AttributeValue.
2019-04-10 08:37:01 -07:00
Bogdan Drutu 55b6b0d5ec
Remove has remote parent from the SpanData. (#90) 2019-04-09 18:00:16 -07:00
Yang Song 723435a3af
Use getX() to get values from subclasses instead of cast. (#87)
* Use getX() to get values from subclasses instead of cast.

* Update method names.

* Use better error message for unsupported methods.

* Update error message for AttributeValue.
2019-04-09 17:23:03 -07:00
Bogdan Drutu f99f3f6d95 Move SpanContext components to the main package. (#80) 2019-04-09 13:32:13 -07:00
Sergey Kanzhelev d28df8e876
Update README.md (#79) 2019-04-09 12:16:02 -07:00
Sergey Kanzhelev 4515c2965c readme and contributing (#49)
* readme and contributing

* Update CONTRIBUTING.md
2019-04-09 11:32:29 -07:00
Yang Song 89e8aa7da4
A bit more clean up. (#78) 2019-04-09 11:22:35 -07:00
Yang Song 97808e75ca
Remove all reference to opencensus. (#76)
* Remove all reference to opencensus.

* Remove a reference that doesn't exist.

* Remove io/ prefix
2019-04-09 11:01:07 -07:00
Carlos Alberto Cortez ae8ab7edc7
Implement Span.log()* for the OT Shim. (#35)
* Implement Span.log()* for the OT Shim.
2019-04-09 19:25:08 +02:00
Carlos Alberto Cortez 3a25881fd5 Remove SpanBuilder.startScopedSpan(). (#73) 2019-04-09 09:33:51 -07:00
Bogdan Drutu 7762a4efec
Update readme to reflect java and android versions. (#72) 2019-04-09 09:22:20 -07:00
Bogdan Drutu 49042a9ee0
Remove Function and Functions. (#71) 2019-04-09 08:18:11 -07:00
Bogdan Drutu 385d118187
Remove unnecessary EndSpanOptions. Status can be set on the Span. (#64) 2019-04-09 07:46:27 -07:00
Bogdan Drutu bd529f3da2
Remove match pattern from Distribution. (#68)
* Remove match pattern from Distribution.

* Run $./gradlew goJF
2019-04-09 07:45:48 -07:00
Bogdan Drutu b50a622a19
Remove unnecessary class from trace. (#66) 2019-04-09 07:44:11 -07:00
Bogdan Drutu 7cc1c0cb68
Fix warning: [ModifiedButNotUsed]. (#67) 2019-04-08 20:36:09 -07:00
Bogdan Drutu 6bd12257ae
Mark all getType as final. (#69) 2019-04-08 20:35:40 -07:00
Bogdan Drutu e5d92bfb2c
Remove unnecessary boxing/unboxing in AttributeValue. (#63) 2019-04-08 20:35:15 -07:00
Yang Song ea330daa3c Metrics: Use enum types instead of match pattern. (#55) 2019-04-08 18:45:23 -07:00
Yang Song d745533dd2
Stats: Use enum types instead of match pattern. (#54)
* Stats: Use enum types instead of match pattern.

* Aggregation.AggregationType -> Aggregation.Type

* MeasureType -> Measure.Type
2019-04-08 17:57:09 -07:00
Bogdan Drutu 7f30541314
Remove unnecessary comments from checker framework. (#62) 2019-04-08 17:00:54 -07:00
Sergey Kanzhelev 952f62cd10
fix a few warnings and removed deprecated methods (#47) 2019-04-08 16:06:12 -07:00
Sergey Kanzhelev 82dbcaca06 use span.kind and error attribute as stringly typed properties (#40) 2019-04-08 15:02:23 -07:00
Bogdan Drutu 964b24c3a9
Merge pull request #43 from bogdandrutu/sergkanz/spanData
Introducing SpanData, SpanExporter with Handlers and SpanComponent to hold configuration
2019-04-08 15:00:36 -07:00
Bogdan Drutu 6a37d30623
Merge pull request #50 from bogdandrutu/scope
Move Scope to context package.
2019-04-08 14:53:20 -07:00
Bogdan Drutu b1f3b7978b
Merge pull request #52 from bogdandrutu/type
Move AttributeValueType to AttributeValue.Type
2019-04-08 14:52:38 -07:00
Bogdan Drutu 9285554da8 Move AttributeValueType to AttributeValue.Type 2019-04-08 14:38:11 -07:00
Bogdan Drutu 8535aabedc
Merge pull request #53 from bogdandrutu/sergkanz/removeMatch
remove match from AttributeValue
2019-04-08 14:35:40 -07:00
Sergey Kanzhelev 45454d3860 fix code style 2019-04-08 13:50:36 -07:00
Sergey Kanzhelev 7b615ecff5 remove match 2019-04-08 12:42:24 -07:00
Bogdan Drutu 958165da6b Run $./gradlew goJF 2019-04-08 12:25:55 -07:00
Bogdan Drutu 95a220876b Move Scope to context package. 2019-04-08 12:19:27 -07:00
Sergey Kanzhelev f998f6ed6f fixed more since tags in SpanData 2019-04-08 11:24:24 -07:00
Sergey Kanzhelev 61023479af fixed since attribute 2019-04-08 10:45:17 -07:00
Sergey Kanzhelev 1c4ccc834b moved SpanData resocring method to the Tracer 2019-04-08 10:21:05 -07:00