Tyler Yahn
9c6c712c54
Merge branch 'master' into otlp
2020-06-01 09:15:29 -07:00
Tyler Yahn
0c3127c27e
Update README.md with batcher comment
2020-06-01 09:09:26 -07:00
Joshua MacDonald
86a10268b8
Minor cleanups in sdk/metric/aggregator ( #781 )
...
* Typo
* Swap order of ddsketch.New for consistency w/ histogram.New
2020-05-30 20:16:40 -07:00
Tyler Yahn
5d9472beab
Remove nolint and update misspell to ignore cancelled
2020-05-29 11:11:19 -07:00
Tyler Yahn
d917dd7d79
Lint
2020-05-29 11:04:57 -07:00
Tyler Yahn
b2ec53f483
Merge remote-tracking branch 'upstream/master' into otlp
2020-05-29 10:26:41 -07:00
Tyler Yahn
2b1998f1b4
Remove tests
...
The lack of programmatic enablement of retries means testing is going to
be flaky or cumbersome.
2020-05-29 10:23:01 -07:00
Tyler Yahn
45a679730d
"Working" tests with failure
...
Needs to be run `GRPC_GO_RETRY=on go test .` to not fail the failing
tests because retries are not enabled by default, nor can they be
enabled programmatically.
2020-05-29 10:18:36 -07:00
Tyler Yahn
07ccb274d2
Update options
2020-05-29 10:17:57 -07:00
Tyler Yahn
7cf20c3af9
Update README
...
Add information about setup, options, and retries.
2020-05-29 10:13:00 -07:00
Paul Thomson
6929c15957
Add application/json header
2020-05-29 06:24:22 +10:00
Tyler Yahn
a5e9204b58
Merge branch 'master' into pre_release_v0.6.0
2020-05-21 15:45:47 -07:00
Joshua MacDonald
b17a7845df
Rename Register* to New* ( #761 )
2020-05-21 15:42:14 -07:00
Tyler Yahn
ad37aae65c
Prepare for releasing v0.6.0
2020-05-21 12:10:12 -07:00
Tyler Yahn
e0256f9e94
First try at a failing suite
2020-05-21 12:05:59 -07:00
Tyler Yahn
0d3daf02b1
Merge branch 'master' into jmacd/prom_res
2020-05-21 11:55:41 -07:00
Tyler Yahn
40324a744a
Split into different files
2020-05-21 10:44:46 -07:00
Tyler Yahn
4bb182a91c
Break up to trace and metric suite
2020-05-21 10:31:57 -07:00
jmacd
dacebd6430
Use []float64 for boundaries
2020-05-21 10:29:03 -07:00
jmacd
3d2493463c
Comments
2020-05-21 09:53:34 -07:00
Tyler Yahn
c38abde14b
Proof of concept
2020-05-21 09:45:24 -07:00
jmacd
48a8a869fe
Upstream
2020-05-21 02:01:06 -07:00
jmacd
7172b30492
Add resources in the Prom tests
2020-05-21 01:38:43 -07:00
jmacd
196d7740bd
Add resource support
2020-05-21 01:29:09 -07:00
jmacd
c829d3ea67
Tests pass
2020-05-21 00:36:17 -07:00
jmacd
0b5080372a
Add benchmark
2020-05-21 00:19:08 -07:00
Anthony J Mirabella
923a6c8afc
Replace sdktrace.WithResourceAttributes() with WithResource()
2020-05-20 16:08:43 -04:00
Joshua MacDonald
5461669733
Add a pull controller, use it for Prometheus ( #751 )
...
* Checkpoint new pull controller
* Tests pass
* Fix example
* Example fix
* Add a test
* Comment
* address MrAlias's feedback
2020-05-20 10:27:26 -07:00
Vladimir Mihailenco
244ed23e44
Rename ScheduleDelayMillis to BatchTimeout ( #752 )
...
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-05-20 10:12:57 -07:00
Joshua MacDonald
1fab21ddbf
Support use of synchronous instruments in async callbacks ( #725 )
...
* Support use of synchronous instruments in async callbacks
* Add a test
2020-05-19 21:33:10 -07:00
Joshua MacDonald
21d094af43
Refactor the api/metrics push controller; add CheckpointSet synchronization ( #737 )
...
* Checkpoint
* Finish tests
* Checkpoint
* Checkpoint (builds)
* Checkpoint + RWMutex interface
* Comments
* Remove commitLock
* Apply feedback
2020-05-18 18:37:41 -07:00
Joshua MacDonald
69da3056f2
Move Resource into the metric export Record ( #739 )
...
* Checkpoint
* Tests pass
2020-05-18 17:44:28 -07:00
Joshua MacDonald
ee3c9ed1a5
Rename Observer to ValueObserver ( #734 )
...
* Observer -> ValueObserver
* Move wrappers into async.go
2020-05-18 11:03:43 -07:00
Joshua MacDonald
76baa9cc7a
Remove the push controller named Meter map ( #738 )
...
* Remove the push controller named Meter map
* Checkpoint
* Remove Provider impls
* Add a test
* Expose Provider() getter instead of implementing the interface
2020-05-18 10:48:58 -07:00
Joshua MacDonald
2dee67652a
Histogram aggregator initial state ( fix #735 ) ( #736 )
...
* Add a test
* Add comments and description options
* Another test
* Undo buffer re-use
* Mod tidy
* Precommit
* Again
* Copyright
* Undo rename
2020-05-18 09:44:33 -07:00
Joshua MacDonald
6bc14ffd2c
Replace Measure instrument by ValueRecorder instrument ( #732 )
...
* Measure->Value recorder and cleanups re: measure
* More edits
* More edits
* Feedback
2020-05-15 22:11:12 -07:00
Tyler Yahn
ce266f9656
Prepare for releasing v0.5.0
2020-05-13 17:11:23 -07:00
Joshua MacDonald
587cde3352
Remove NewKey and update doc comment ( #721 )
...
* Update doc comment
* Remove NewKey
* NewKey->Key
2020-05-13 16:21:23 -07:00
Chen Yixiao
1301b6f3e4
Move core and key to kv package ( #720 )
...
* Move core to kv
* Move kv.Value to kv.value.Value
* Move key to kv
2020-05-13 16:06:03 -07:00
Joshua MacDonald
64afb05e53
Metric SDK renames to align with draft SDK spec ( #710 )
...
* Replace batcher w/ integrator; rename ungrouped to simple
* SDK -> Accumulator
* Cleamup
* Address feedback
2020-05-11 10:23:06 -07:00
Chen Yixiao
f0855b7d08
Move Number to api/metric package ( #706 )
...
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-05-10 23:44:42 -07:00
Liz Fong-Jones
bafdd1b138
Merge branch 'master' into zipkin_mock_addr
2020-05-05 14:08:30 -04:00
tensorchen
375083a085
Update mockZipkin addr from :0 to 127.0.0.1:0
2020-05-06 01:50:00 +08:00
tensorchen
bae2298a36
Rename trace.TraceID & trace.TraceIDFromHex
2020-05-03 13:48:38 +08:00
tensorchen
c6c155de6f
Move SpanContext from core package into trace
2020-05-02 20:17:11 +08:00
Joshua MacDonald
4c9a29d2d7
Add a key benchmark, use reflection in key.Infer() ( #679 )
...
* Add a key benchmark, optimize SDK SetAttribute
* Use reflect in key.Infer
* Move to separate benchmark file; remove pointer test; remove dead comment
* Run go mod tidy
* Add license header
* Use the reflect scalar accessors
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-04-30 13:06:00 -07:00
Igor German
5863f8562b
Add jaeger option that allows to specify custom http client ( #671 )
2020-04-28 14:35:34 -04:00
Rahul Patel
1de7f68bfc
Prepare for releasing v0.4.3 ( #664 )
2020-04-24 15:24:00 -07:00
Joshua MacDonald
3008c1bf02
Pass Resources through the metrics export pipeline ( #659 )
2020-04-24 09:44:21 -07:00
Joshua MacDonald
cd1be0e698
Use the label.Set.Equivalent value instead of an encoding in the batcher ( #658 )
2020-04-24 09:32:49 -07:00