1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
Commit Graph

560 Commits

Author SHA1 Message Date
Anthony J Mirabella
a6f6d402a2 Use HTTP attribute functions from standard package in othttp.Transport 2020-05-26 21:53:16 -04:00
Anthony J Mirabella
24741dd9f0 Use HTTP attribute functions from standard package 2020-05-26 21:18:38 -04:00
Anthony J Mirabella
90703756d4 Move HTTP request semantic convention extractors from contrib 2020-05-26 21:06:13 -04:00
Tyler Yahn
f8d53694be
Clean up tools (#762)
* Update tools go deps

gojq is used by verify_examples.sh

* Fix script name in RELEASING.md

* Remove trailing whitespace in verify_examples.sh

* Actually fix gojq in go.mod
2020-05-26 11:35:34 -07:00
Tyler Yahn
370114e9de
Merge pull request #760 from MrAlias/pre_release_v0.6.0
Prepare for releasing v0.6.0
2020-05-21 15:49:30 -07: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
d6446f0336
Merge pull request #757 from jmacd/jmacd/prom_res
Add Prometheus resource support
2020-05-21 11:59:36 -07:00
Tyler Yahn
0d3daf02b1
Merge branch 'master' into jmacd/prom_res 2020-05-21 11:55:41 -07:00
Tyler Yahn
51e57199b6
Merge pull request #758 from jmacd/jmacd/hist_search
Use []float64 for histogram boundaries, not []metric.Number
2020-05-21 11:54:05 -07:00
Tyler Yahn
49aaf53d0e
Merge branch 'master' into jmacd/prom_res 2020-05-21 11:52:06 -07:00
Tyler Yahn
afd79fbd6f
Merge branch 'master' into jmacd/hist_search 2020-05-21 11:50:48 -07:00
Stefan Prisca
7329ccc823
Change OTLP example to use syncer (#756)
* change otlp-example to use syncer

* precommit

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-05-21 11:40:11 -07:00
jmacd
4f3188ab95 Fix use of values in benchmark 2020-05-21 11:36:52 -07:00
jmacd
9d2e78ae2b Comment 2020-05-21 11:21:13 -07:00
jmacd
17b8543050 Lint 2020-05-21 11:18:47 -07:00
jmacd
2aa0f1496e Comment on linear vs binary search 2020-05-21 11:09:10 -07:00
jmacd
db993ec5cc Cleanup sort 2020-05-21 10:46:22 -07:00
jmacd
9548817e7e Add a benchmark 2020-05-21 10:45:26 -07:00
jmacd
dacebd6430 Use []float64 for boundaries 2020-05-21 10:29:03 -07:00
jmacd
079df0f97c Upstream 2020-05-21 09:54:19 -07:00
jmacd
3d2493463c Comments 2020-05-21 09:53:34 -07:00
Tyler Yahn
84a21fe9d7
Merge pull request #755 from realdave/748-prevent-panic
Ensure gRPC ClientStream override methods do not panic
2020-05-21 08:53:53 -07:00
jmacd
b63cf49bba Use sort.Search to locate histogram bucket 2020-05-21 02:08:08 -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
1c8c5df4db resource.Merge uses label.MergeIterator 2020-05-21 00:33:39 -07:00
jmacd
0b5080372a Add benchmark 2020-05-21 00:19:08 -07:00
jmacd
63df1b5e22 Add merged iterator 2020-05-20 23:20:29 -07:00
Dave McGregor
316b4fdc66
Merge branch 'master' into 748-prevent-panic 2020-05-20 18:26:01 -04:00
Dave McGregor
f9bf364f23 Ensure gRPC ClientStream override methods do not panic.
Previously, the channel used to aggregate the finished state of the stream
could be closed while still open to receiving stream state events.

This removes the closing of the channel, and instead adds a "done" channel that
is used to skip sending to the channel after the receiver is done.
2020-05-20 18:07:53 -04:00
Tyler Yahn
029c0ee71d
Merge pull request #754 from Aneurysm9/OTG-753
Replace sdktrace.WithResourceAttributes() with WithResource()
2020-05-20 14:19:21 -07:00
Anthony J Mirabella
068ad5b3a5 make precommit to cleanup otel-collector/go.sum 2020-05-20 16:42:34 -04: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
Joshua MacDonald
15e8edd498
Add the UpDownSumObserver instrument (#750)
* Add the UpDownSumObserver instrument

* Precommit

* Downcase error message
2020-05-20 10:19:51 -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
Tyler Yahn
19ee7b7a97
Merge pull request #711 from stefanprisca/master
OpenTelemetry Collector Demo
2020-05-20 09:26:53 -07:00
Stefan Prisca
3f24acf4c0 Merge branch 'master' of github.com:stefanprisca/opentelemetry-go into sp-master 2020-05-20 10:39:50 +02:00
Stefan Prisca
e1b144e775 Wait for batcher to push changes 2020-05-20 10:38:34 +02:00
Stefan Prisca
1f16b8a573 Merge branch 'master' of https://github.com/open-telemetry/opentelemetry-go into sp-master 2020-05-20 10:28:40 +02: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
c5f2252c48
Add the SumObserver instrument (#747)
* Add the SumObserver instrument

* Lint
2020-05-19 11:49:24 -07:00
Joshua MacDonald
0a333cade1
Add the UpDownCounter instrument (#745)
* Add UpDownCounter to the API

* Add an SDK test

* Comment fix
2020-05-19 10:00:22 -07:00
Joshua MacDonald
055e9c54e1
Disable parts of batch_span_processor test as flakes (#743)
* Name the BSP tests

* Add a drain wait group; use the stop wait group to avoid leaking a goroutine

* Lint & comments

* Fix

* Use defer/recover

* Restore the Add/Done...

* Restore the Add/Done...

* Consolidate select stmts

* Disable the test

* Lint

* Use better recover
2020-05-19 09:36:33 -07:00
Vladimir Mihailenco
9adedba214
Fix String in Infer (#746) 2020-05-19 09:10:30 -07:00
Stefan Prisca
7c9f0696ca
Update Makefile 2020-05-19 07:29:52 +02:00