Commit Graph

840 Commits

Author SHA1 Message Date
Bogdan Drutu 3efe87b423
Remove old javadoc files to make sure deleted classes are removed. (#239) 2019-05-03 13:14:47 -07:00
Bogdan Drutu 898f81bf1c
Remove helper functions that interact with Context from Tracer and move into contrib (#246) 2019-05-03 08:44:05 -07:00
Bogdan Drutu 038e36f1f4
Update javadoc. (#240) 2019-05-03 08:04:42 -07:00
Bogdan Drutu ca0ec9dfa8
Replace everywhere OpenConsensus with OpenTelemetry (#244)
* Replace everywhere OpenConsensus with OpenTelemetry

* Fix javadoc references.

* Update javadoc exclude in the api.
2019-05-02 13:46:04 -07:00
Yuri Shkuro 8267b1cae9 Rename & test CLA (#237)
Signed-off-by: Yuri Shkuro <ys@uber.com>
2019-05-01 17:26:10 -07:00
Bogdan Drutu 594a6db8d1
Implement span interaction with Context. (#229)
* Implement span interaction with Context.

* Remove endSpan support from withSpan.
2019-05-01 12:19:46 -07:00
Bogdan Drutu 8e08585053
Update truth and mockito (#228) 2019-05-01 12:13:17 -07:00
Bogdan Drutu 7484dbdfb8
Implement tagmap interaction with Context. (#232) 2019-05-01 09:04:52 -07:00
Carlos Alberto Cortez 354e776ebf Rename TextFormat to HttpTextFormat, and related. (#188)
* Rename TextFormat to HttpTextFormat, and related.

* Correct a TextFormat mention in the inline docs.

* Clean some inline bits.

* Fix the build.
2019-04-30 12:08:53 -07:00
Carlos Alberto Cortez 1421c9482e
Set status based on error, either true or false. (#227) 2019-04-30 17:57:20 +02:00
Bogdan Drutu fad1d489b9
Update proto to use counter instead of cumulative long/double. (#222) 2019-04-26 16:17:06 -07:00
Bogdan Drutu a63080da46
Rename Cumulative to Counter, and use names like templates GaugeLong. (#221) 2019-04-26 14:53:59 -07:00
Bogdan Drutu 5344ab14f9
Remove derived metrics and support a callback for the entire metric. (#219)
* Remove derived metrics and support a callback for the entire metric.

* Fix copyright, add javadoc and remove android compatibility restriction.

* Remove unused interfaces.
2019-04-26 14:32:06 -07:00
Bogdan Drutu ecf24c1a92
Make Measurement an opaque interface in the API. (#216) 2019-04-26 11:22:51 -07:00
Bogdan Drutu 96a34987e3
Change [Double|Long]Point to TimeSeries. (#217) 2019-04-25 18:06:53 -07:00
Sergey Kanzhelev fa97a5dda5 Update CONTRIBUTING.md (#215) 2019-04-25 14:59:37 -07:00
Bogdan Drutu 63bea7e613
Update javadoc for API. (#212) 2019-04-25 14:56:56 -07:00
Bogdan Drutu ad27dc99e8
Restrict access to the key, add helper methods to interact with Context. (#211) 2019-04-25 10:35:35 -07:00
Bogdan Drutu 5d9b5b2775
Change from options to builder the metrics creation. (#202)
* Change from options to builder the metrics creation.

* Add tests in the registry for cumulative long.

* Add javadoc for Metric.

* ./gradlew goJF
2019-04-25 08:52:33 -07:00
Bogdan Drutu 9217bde780
Move SpanBuilder as inner class to Span (#203) 2019-04-25 08:24:44 -07:00
Carlos Alberto Cortez 27381adaad Use builtin constants/members in the OT Shim for Span/SpanBuilder. (#210) 2019-04-25 08:23:43 -07:00
Bogdan Drutu 50ec66cec8
Rename buildMeasure to measureBuilder for consistency with trace. (#204) 2019-04-25 08:18:17 -07:00
Bogdan Drutu f811e90ec7
Use interfaces in tags. (#207) 2019-04-25 08:18:00 -07:00
Bogdan Drutu b5ed2f466b
Rename buildMetricRegistry to metricRegistryBuilder for consistency with trace. (#205) 2019-04-25 08:17:46 -07:00
Bogdan Drutu f64454b1e8
Use key with default for span, consistent with tags. (#209) 2019-04-25 08:17:26 -07:00
Bogdan Drutu 54e2d7f0fd
remove java6 type args (#208)
* remove java6 type args

* remove java6 type args

* ./gradlew goJF
2019-04-25 08:17:06 -07:00
Bogdan Drutu 0a5693813b
Fix errorprone warnings in tests. (#206)
* Fix errorprone warnings in tests.

* ./gradlew goJF
2019-04-25 08:16:50 -07:00
Bogdan Drutu 5f86575217
Make Measure interface and allow StatsRecorder to create it. (#200) 2019-04-24 17:59:16 -07:00
Bogdan Drutu 4da44216a5
Change metrics to use interfaces. (#201) 2019-04-24 16:24:49 -07:00
Bogdan Drutu d7f68adc7f Remove empty common package. (#199) 2019-04-24 16:12:48 -07:00
Bogdan Drutu 1ac79b8edb
Add a top-level class for metrics similar with all the other packages. (#173) 2019-04-24 15:14:01 -07:00
Yang Song d5d62311c7
Revert "Remove long values from stats, not too much value added, only complexity. (#114)" (#197)
* Revert "Remove long values from stats, not too much value added, only complexity. (#114)"

This reverts commit b06d642293.

* Fix tests.
2019-04-24 14:13:07 -07:00
Bogdan Drutu 1f3a481b70 Add openconsensus API javadoc. 2019-04-24 12:59:08 -07:00
Carlos Alberto Cortez 0cd1db2b27 Make core classes interfaces. (#194) 2019-04-24 12:00:25 -07:00
Carlos Alberto Cortez f845c6f2b8 Fix the old addAnnotation mention in the docs. (#195) 2019-04-24 08:58:48 -07:00
Yang Song 29b831c49b Add tests on APIs. (#191) 2019-04-23 18:06:58 -07:00
Bogdan Drutu 883d00fea6
Fix code in code javadoc warning. (#193) 2019-04-23 16:32:26 -07:00
Yang Song 6bbda4f107
Metrics: Add LongCumulative. (#190) 2019-04-23 13:15:07 -07:00
Bogdan Drutu c728bc03d1
Move the environment variable loading logic to sdk. Simplify the Resource package. (#183) 2019-04-22 12:53:36 -07:00
Sergey Kanzhelev e31085e8da
fix javadoc issues (#181)
* fix javadoc issues

* fix newline
2019-04-22 11:28:45 -07:00
Bogdan Drutu 928049a369 Remove internal annotation and update comment in the internal package. (#180) 2019-04-22 11:11:49 -07:00
Sergey Kanzhelev 804ac529eb
add resource on tracer (#178)
* add resource on tracer

* empty->EMPTY
2019-04-22 11:10:48 -07:00
Sergey Kanzhelev 42f90bf819
move gRPC (#177) 2019-04-22 09:48:24 -07:00
Bogdan Drutu 87efdd5aaa
Expose EmptyTagMap and remove duplicate code in unsafe package. (#169)
* Expose EmptyTagMap and remove duplicate code in unsafe package.

* Remove removed method from subclass.
2019-04-22 09:26:27 -07:00
Ted Young f4d146216b Add CLA and roadmap notes to README (#175)
* Add CLA and roadmap notes to README

* derp

* period
2019-04-22 09:16:27 -07:00
Bogdan Drutu 28c07acf30 Cleanup Timestamp and Duration. (#174)
* Remove Duration and all unused methods from Timestamp.

* Move timestamp to SpanData as the only consumer.
2019-04-19 23:40:07 -07:00
Bogdan Drutu b4ee80e7ef Rename Distribution to Histogram, remove sum of squares. (#171) 2019-04-19 23:33:34 -07:00
Sergey Kanzhelev 622548811c
created database document (#162) 2019-04-19 23:32:46 -07:00
Bogdan Drutu bb9ce436a2 Remove experimental API label. (#172) 2019-04-19 23:32:19 -07:00
Bogdan Drutu f0822fc735 Remove child count from the SpanData. (#170) 2019-04-19 23:31:53 -07:00