Commit Graph

26 Commits

Author SHA1 Message Date
Anuraag Agrawal 0ceff17dfa
Remove since tags until 1.0.0 (#1796)
* Remove since tags until 1.0.0

* Spotless
2020-10-14 09:29:27 -07:00
dengliming 71ba8e1b87
Use the concise license header without the year (#1623)
* Use the concise license header without the year

* Use the concise license header without the year
2020-10-02 22:42:53 +09:00
Bogdan Drutu 2d146bbbb9
Remove constant labels from instruments and MetricData (#1692)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-09-24 15:14:04 +09:00
Jason Plumb cfbe6bfe81
Rename dangling references to MeterRegistry (#1683)
* rename getMeterRegistry() to getMeterProvider() in javadocs.

* rename meterRegistry variable to meterProvider

* reformat
2020-09-22 19:37:47 -07:00
dengliming 36abf5fd27
Add convenience methods for when empty labels are used. (#1538)
* Add convenience methods for when empty labels are used.

* Fix review
2020-08-17 07:47:28 -07:00
Bogdan Drutu d02667929b
Change instrument operations to use immutable Labels (#1358)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-06-18 13:48:39 -07:00
Bogdan Drutu 42cdd7ed3d
Use the new immutable Labels for Bind (#1354)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-06-18 11:53:41 -07:00
John Watson fccc6d9bc3
Convert the usages of the LabelSetSdk to use the Labels class. (#1338) 2020-06-17 10:43:11 -07:00
Bogdan Drutu 8a1a241efa
Rename Measure to ValueRecorder, fix comments and javadoc (#1243)
* Rename Measure to ValueRecorder, fix comments and javadoc

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Fix more legacy javadoc

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Address feedback

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-19 11:31:16 -07:00
Bogdan Drutu e67fe84c60
Add API for UpDownCounter (#1210)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-13 10:00:09 -07:00
Bogdan Drutu 5b31c5ae0c
Remove monotonic property from counters (#1208)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 16:43:47 -07:00
Bogdan Drutu 4d2f6cc91d
Cleanup names in metrics and ensure consistency with specs (#1202)
* Cleanup names in metrics and ensure consistency with specs

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Rename SyncInstrument to SynchronousInstrument

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update api/src/main/java/io/opentelemetry/metrics/SynchronousInstrument.java

Co-authored-by: John Watson <jkwatson@gmail.com>

Co-authored-by: John Watson <jkwatson@gmail.com>
2020-05-12 09:50:02 -07:00
Bogdan Drutu 6a4fd2d46a
Remove labels keys from instruments (#1121)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-20 09:24:45 -07:00
John Watson 8453bcb14a
Remove LabelSet from the API altogether. (#1023)
* remove LabelSet from the API surface altogether

* rename bindInternal to bind
2020-03-16 16:07:18 -07:00
John Watson 29297249ab
remove LabelSet from the Instrument binding API (#1010) 2020-03-16 13:38:10 -07:00
John Watson efc49522ac
Remove LabelSet from non-bound instrument usage (#1001)
* Remove the LabelSet parameter on the DoubleCounter non-bound usage.

* remove non-bound labelset measure recording method

* remove non-bound labelset LongMeasure recording method

* remove non-bound labelset LongCounter recording method

* tidy up an access level
2020-03-12 12:54:43 -07:00
Bogdan Drutu 2080fe196c
Remove generic usage in the metrics API (#956)
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 14:31:55 -07:00
John Watson 1e7239e74c
add the missing enclosing interface (#854) 2020-02-13 08:58:40 -08:00
Bogdan Drutu e7be01474a
Move unbind to the Bound to simplify usage (#834)
* Move unbind to the Bound to simplify usage

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Change names to be English friendly

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-07 12:57:39 -08:00
Bogdan Drutu 7365426d85
Add @ThreadSafe annotation to Bounds (#820)
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-04 19:24:03 -08:00
Bogdan Drutu 01aece01a1
Remove bound support from Observers (#799)
* Remove bound support from Observers

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* fix copyright

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Rename observer result method from put to observe

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>

* Rename InstrumentWithBound to InstrumentWithBinding

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-01-27 10:21:44 -08:00
John Watson cd40a37156 remove some more usages of the bare word "bound" (#739) 2020-01-08 13:57:20 -08:00
John Watson 91053c45c8 rename the factories to registries (#725) 2020-01-06 20:11:02 -05:00
John Watson 23cc506d26 Rename Metric to Instrument (#717)
* rename the Metric interface to Instrument, and update many javadocs to match

* apply formatting
2019-12-25 07:26:00 -08:00
John Watson fc9a9575c8 Add non bound usage to the various metric instruments API (#715)
* WIP on non-bound instrument usages

* Add API methods for non-bound-instrument usages

* add missing javadoc

* add some additional javadoc
2019-12-19 16:28:03 -08:00
John Watson 95da446cee rename metric instances to have the numeric type before the metric type (#712) 2019-12-18 11:38:24 -08:00