Sam Xie
e2ab0e0b98
Use environment variables as default options
2020-06-10 11:10:17 +08:00
Sam Xie
11032a87f8
Add license header
2020-06-10 11:10:17 +08:00
Sam Xie
d8d7b41695
Add environment variables for jaeger exporter
...
Handle these environment variables: JAEGER_SERVICE_NAME, JAEGER_DISABLED, JAEGER_TAGS, JAEGER_ENDPOINT, JAEGER_USER, JAEGER_PASSWORD
2020-06-10 11:10:17 +08:00
Sam Xie
a234027fde
Add disabled field for jaeger exporter
2020-06-10 11:10:17 +08:00
Tyler Yahn
9ce42c89c5
Merge branch 'master' into send-headers
2020-06-09 15:31:27 -07:00
Alex Boten
6365fe9288
refactor following review feedback
2020-06-09 13:59:22 -07:00
alrex
f30ac1e329
Update exporters/otlp/otlp_integration_test.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-09 13:53:30 -07:00
Alex Boten
c28b510ec5
Send configured headers with every request
2020-06-09 12:30:40 -07:00
Joshua MacDonald
9401bd9cda
Remove Context arguments from Aggregator.Checkpoint and Integrator.Process ( #803 )
...
* Typo
* Swap order of ddsketch.New for consistency w/ histogram.New
* Remove Integrator.Process ctx argument
* Remove Aggregator.Checkpoint ctx argument
* Revert bugfix
2020-06-09 11:00:50 -07:00
Tyler Yahn
3e95c9c78e
Update error handling exporters to use global.Handle
2020-06-02 12:30:55 -07:00
Tyler Yahn
289f372308
Merge branch 'master' into otlp
2020-06-02 10:41:44 -07:00
Anthony J Mirabella
0e8fb1cb4f
Ensure zipkin exporter reads and closes response body
2020-06-02 11:46:34 -04:00
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