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
Tyler Yahn
51ff97e534
Add timeout to push Controller ( #742 )
...
Addresses existing TODO in the push `tick` function by added a context
timeout set to a configurable Controller timeout. This ensures that hung
collections or exports do not have runaway resource usage.
Defaults to the length of a collector period.
2020-05-18 21:43:27 -07:00
Tyler Yahn
1e36a61edf
Fix panic in gRPC UnaryServerInfo ( #740 )
...
Fixes unresolved issue identified in #691 and attempted in #697 .
Adds unit test to ensure the UnaryServerInfo function does not panic
during an error returned from the handler and appropriately annotates
the span with the correct event.
Restructures the interceptor to remove this class of errors.
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-05-18 18:54:38 -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
Tyler Yahn
5a534a0b00
Merge pull request #719 from vmihailenco/master
...
Rewrite processQueue for better batching
2020-05-18 11:21:37 -07:00
Tyler Yahn
3e1d85ee23
Merge branch 'master' into master
2020-05-18 11:15:50 -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
Stefan Prisca
8bcefd434e
remove unnecessary jaeger files & add licence header
2020-05-16 12:37:47 +02:00
Stefan Prisca
c80ed298db
Update example/otel-collector/k8s/otel-collector.yaml
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-16 12:16:04 +02:00
Stefan Prisca
2a00038175
Update example/otel-collector/k8s/namespace.yaml
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-16 12:15:53 +02:00
Vladimir Mihailenco
4408b6e328
Remove buggy enqueueWait
2020-05-16 10:19:46 +03: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
ET
0122b586b7
Ensure golang alpine image is running golang-1.14 ( #733 )
...
Older versions of go (even only as recently as 1.12.7) have problems
building outside of $GOPATH
2020-05-15 21:53:05 -07:00
Tyler Yahn
a5565e8604
Merge pull request #731 from MrAlias/standards
...
Add api/standard package to implement semantic conventions
2020-05-15 16:46:08 -07:00
Tyler Yahn
c8e23c22bc
Merge branch 'master' into standards
2020-05-15 16:40:26 -07:00
Tyler Yahn
47d71328a0
Merge pull request #695 from mujtaba-ahmed12/grpctest
...
Added test for grpc UnaryInterceptorClient
2020-05-15 16:33:35 -07:00
Tyler Yahn
55d4f7c31f
Upgrade to v0.5.0
2020-05-15 16:27:40 -07:00
Tyler Yahn
56547c988a
Merge branch 'master' into grpctest
2020-05-15 15:47:13 -07:00
Tyler Yahn
5abfeb02a9
Add tracing standards
2020-05-15 15:20:30 -07:00
Ahmed Mujtaba
f4a25cf745
Added condition for missing attr received in attr expected
2020-05-15 22:43:07 +02:00
Tyler Yahn
5c160d31e5
Update to v0.4.0 specification
...
Change `library.*` to `telemetry.sdk.*`.
Add FaaS.
Add comments to all constants.
2020-05-15 13:21:52 -07:00
Tyler Yahn
721628d402
Update standard package docs
2020-05-15 12:46:53 -07:00
Tyler Yahn
1d554f34c1
Add standard package contain all semantic conventions
2020-05-15 12:42:13 -07:00
Tyler Yahn
55bbf51459
Switch to kv.Key types
2020-05-15 11:44:17 -07:00
Tyler Yahn
f7f3fc3918
Remove redundant "Key" from const names
2020-05-15 11:38:02 -07:00
Tyler Yahn
4eecaf5391
Update resourcekey package doc
2020-05-15 11:35:44 -07:00
Tyler Yahn
7c209b5c8c
Rename resourcekeys to singular resourcekey
2020-05-15 11:33:14 -07:00
Tyler Yahn
34c03ec9a9
Merge pull request #727 from MrAlias/otcorrelations
...
Update correlation context header name
2020-05-15 11:19:47 -07:00
Tyler Yahn
bdfbc2005c
Merge branch 'master' into otcorrelations
2020-05-15 09:55:02 -07:00
Tyler Yahn
b76f1f1106
Merge pull request #726 from krnowak/drop-krnowak
...
Remove krnowak from approvers
2020-05-15 09:51:02 -07:00
Tyler Yahn
80a59c2275
Update correlation context header name
2020-05-15 09:33:06 -07:00
Krzesimir Nowak
55905e58c5
Remove krnowak from approvers
2020-05-15 18:18:00 +02:00
Vladimir Mihailenco
b2285e0c71
Fix timer.Stop
2020-05-15 14:01:43 +03:00
Stefan Prisca
e31b09388a
change api/core package to api/kv
2020-05-15 12:57:21 +02:00
Stefan Prisca
107e9265df
Merge branch 'master' of https://github.com/open-telemetry/opentelemetry-go into sp-master
2020-05-15 11:47:05 +02:00
Stefan Prisca
d623815dfc
Update README with latest changes
2020-05-15 11:46:53 +02:00
Vladimir Mihailenco
28571207b7
Add a comment
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
88d9ad0ba8
Add ref to #174
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
8885bc404d
Move IsSampled check
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
774889cbfa
Add proper enqueue sync
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
ab19dddd0f
Update tests
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
891d16dd15
Replace Ticker with Timer since Ticker does not Reset yet
2020-05-15 11:54:56 +03:00
Vladimir Mihailenco
2719c0ac16
Rewrite processQueue for better batching
2020-05-15 11:54:56 +03:00
Joshua MacDonald
f1112a4fbb
Rearrange api/metric code layout ( #724 )
...
* Refactor api.go
* Refactor more
* Finish
* More
* Rename
* More rename
* Split observer.go common into async.go; rename common.go sync.go
* Move types a bit
2020-05-14 13:10:48 -07:00
Stefan Prisca
612e894247
fix otlp receiver endpoint
2020-05-14 18:52:38 +02:00