Tyler Yahn
8774926e06
Merge pull request #683 from stefanprisca/master
...
fix interceptor regexp
2020-05-06 19:21:11 -07:00
Tyler Yahn
085872881f
Merge branch 'master' into master
2020-05-06 19:17:10 -07:00
tensorchen
82538a830b
rm api/global alias functions
2020-05-07 00:41:11 +08:00
tensorchen
428b8ccb94
Merge branch 'master' into api_alias
2020-05-07 00:13:55 +08:00
Anthony Mirabella
a547cc3bfe
Use a constant padding for 64-bit B3 trace IDs ( #701 )
2020-05-06 11:09:41 -04:00
Tyler Yahn
2df5f81356
Merge pull request #700 from tensorchen/zipkin_mock_addr
...
Update mockZipkin addr from :0 to 127.0.0.1:0
2020-05-05 13:50:55 -07:00
Tyler Yahn
83af6cea64
Merge branch 'master' into zipkin_mock_addr
2020-05-05 13:44:37 -07:00
Anthony Mirabella
0a9b2e0d8c
left-pad 64-bit B3 trace IDs ( #698 )
2020-05-05 14:20:09 -04:00
Liz Fong-Jones
eccf13148d
Merge branch 'master' into master
2020-05-05 14:08:55 -04:00
Liz Fong-Jones
bafdd1b138
Merge branch 'master' into zipkin_mock_addr
2020-05-05 14:08:30 -04:00
Tyler Yahn
796c376983
Merge pull request #692 from tensorchen/move_span_context
...
Move SpanContext from core package into trace
2020-05-05 10:50:19 -07:00
tensorchen
375083a085
Update mockZipkin addr from :0 to 127.0.0.1:0
2020-05-06 01:50:00 +08:00
tensorchen
2ffbd869d7
Rename TraceFlagsSampled, TraceFlagsUnused
2020-05-06 01:41:54 +08:00
tensorchen
40e8769e83
Merge remote-tracking branch 'origin' into move_span_context
2020-05-06 01:37:37 +08:00
Stefan Prisca
5414d1a142
forgot to precomit...
2020-05-05 09:13:21 +02:00
Stefan Prisca
8be299b6a6
Merge upstream changes from otel
2020-05-05 09:09:55 +02:00
Stefan Prisca
de6c80d5d4
Merge suggested changes
2020-05-05 09:07:17 +02:00
Stefan Prisca
e1c90dca8a
add explicit error handling for span data
2020-05-05 09:07:11 +02:00
Stefan Prisca
3e4da5ac77
Update plugin/grpctrace/interceptor_test.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-05 09:05:45 +02:00
Stefan Prisca
13c5db45a0
Update plugin/grpctrace/interceptor_test.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-05 08:46:01 +02:00
Stefan Prisca
6904c9e9f0
Update plugin/grpctrace/interceptor_test.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-05 08:45:21 +02:00
Tyler Yahn
7026089a0e
Merge pull request #694 from Aneurysm9/tracestate_propagation
...
propagate at least the first w3c tracestate header
2020-05-04 15:59:31 -07:00
Anthony J Mirabella
7a605a3345
Add named capture groups to traceCtxRegExp, avoid potential panic when injecting tracestate
2020-05-04 16:34:07 -04:00
Stefan Prisca
75b4d68499
use golang table test setup
2020-05-04 10:22:31 +02:00
Stefan Prisca
4ad6e3b73f
refactor tests to have single test method
2020-05-04 10:10:51 +02:00
tensorchen
ff2aa55a96
Alias api/global types, functions to root
2020-05-03 16:01:15 +08:00
tensorchen
bae2298a36
Rename trace.TraceID & trace.TraceIDFromHex
2020-05-03 13:48:38 +08:00
Anthony J Mirabella
1dc6bc09d4
propagate at least the first w3c tracestate header
2020-05-02 15:23:03 -04:00
Stefan Prisca
c8578e1512
address feedback
2020-05-02 14:50:11 +02:00
tensorchen
c6c155de6f
Move SpanContext from core package into trace
2020-05-02 20:17:11 +08:00
Stefan Prisca
7c6554fc4d
Merge branch 'master' of github.com:stefanprisca/opentelemetry-go into sp-master
2020-05-01 13:58:42 +02:00
Stefan Prisca
54f5c350a8
rename to make the tests more relevant
2020-05-01 13:53:05 +02:00
Stefan Prisca
1bd88dc455
Add tests for interceptor service attributes
2020-05-01 13:43:38 +02:00
Stefan Prisca
6ade533508
fix interceptor regexp
2020-05-01 11:12:52 +02:00
ET
34bd998963
Remove internal StateLocker implementation ( #688 )
...
Fixes #657
With the changes in #667 and #669 to use a plain-old-mutex for
concurrent access of Histogram and MinMaxSumCount aggregators,
the StateLocker implementation is no longer used in the project.
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-30 14:15:04 -07:00
Tyler Yahn
1176d9c0b3
Merge branch 'master' into master
2020-04-30 13:20:40 -07:00
Tyler Yahn
44bd7e9421
Merge pull request #690 from MrAlias/increase-circleci-size
...
Increase instance size for prior-go
2020-04-30 13:16:55 -07:00
Tyler Yahn
bad3655874
Upgrade size in current-go as well
2020-04-30 13:11:15 -07:00
Joshua MacDonald
bb2dcff242
Merge branch 'master' into increase-circleci-size
2020-04-30 13:06:22 -07: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
Tyler Yahn
c8d46761be
Increase instance size for prior-go
...
Increase from the default medium (2vCPU 4GB) to medium+ (3vCPU 6GB).
This is to stop the OOM events identified in #685 from happening.
2020-04-30 13:00:59 -07:00
Liz Fong-Jones
a053038e52
propose a9 as approver ( #687 )
2020-04-30 13:32:57 -04:00
NiaoGe
f865a6c3d4
Fix Traceparent to traceparent ( #681 )
...
* Fix Traceparent to traceparent
* Fix unittest Traceparent to traceparent
2020-04-30 08:55:16 -07:00
Stefan Prisca
c3e9bdb214
fix interceptor regexp
2020-04-30 16:39:30 +02:00
Joshua MacDonald
d7b3c3d7e7
Fix and test uses of global.Meter with RecordBatch() ( #680 )
...
* Test use of global.Meter.RecordBatch
* Avoid new dep
2020-04-29 16:13:55 -07:00
Anthony Mirabella
973b38607b
Create basic othttp.Transport for simple client instrumentation ( #678 )
...
* Create basic othttp.Transport for simple client instrumentation
* change props to propagators for clarity
* Add othttp.Transport usage example
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-29 13:17:05 -07:00
ET
e4ec924b25
Reimplement histogram using mutex instead of stateLocker ( #669 )
...
* Reimplement histogram using mutex instead of stateLocker
Move existing implementation to histogram_statelocker.go. Implement
benchmarks for single thread and parallel histogram updates comparing
mutex version to stateLocker version
* Drop statelocker implementation and alignment tests, benchmarks
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-29 10:08:58 -07:00
ET
bd16ce0cfa
Switch MinMaxSumCount to a mutex lock instead of StateLocker ( #667 )
...
* Switch MinMaxSumCount to a mutex lock instead of StateLocker
With multiple values being modified for each Update(), a single mutex
lock and non-atomic operations ends up being faster than making each
value update into an atomic operation.
* Remove StateLocker implementation and comparison benchmarks
* Remove field offset tests. No longer required with no atomics.
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-28 18:27:13 -07:00
Liz Fong-Jones
ee30252752
add SetAttribute(string,interface{}) ( #674 )
2020-04-28 14:24:47 -07:00
ET
3809f7bba3
Remove references in godoc comments to WithKeys ( #672 )
...
* Remove references in godoc comments to WithKeys
WithKeys was removed in PR#639
* Apply suggestions from code review
Fix copy pasta
Co-Authored-By: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-28 12:29:48 -07:00