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

434 Commits

Author SHA1 Message Date
wtong98
80d1eb98ed Finish OTLP example 2020-05-27 10:06:33 -05:00
wtong98
a4cf6e1d69 Add OTLP metrics 2020-05-26 15:24:16 -05:00
wtong98
69ddc81a81 Add OTLP trace 2020-05-26 11:17:14 -05: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
Tyler Yahn
96fbeee606
Merge pull request #723 from MrAlias/pre_release_v0.5.0
Prepare for releasing v0.5.0
2020-05-13 17:20:26 -07:00
Tyler Yahn
ce266f9656
Prepare for releasing v0.5.0 2020-05-13 17:11:23 -07:00
Joshua MacDonald
fefdf59a0b
Batch Observer callback support (#717)
* api/metric changes from jmacd:jmacd/batch_obs_2

* Add an SDK test

* Use a single collector method

* Two fixes

* Comments; embed AsyncRunner

* Comments

* Comment fix

* More comments

* Renaming for clarity

* Renaming for clarity (fix)

* Lint
2020-05-13 16:27:52 -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
88100f0fc7
Add evantorrie as an approver (#713)
* Update CODEOWNERS

* Add Evan Torrie to CONTRIBUTING

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-12 11:52:58 -07:00
Joshua MacDonald
32ddc16e1b
Make Meter a struct, simplify the global Meter (#709)
* Tests pass

* Precommit pass

* More lint

* Remove a few interfaces

* Final edits

* Fix comments

* Indentation

* registry->unique

* Comments
2020-05-11 20:29:06 -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
Krzesimir Nowak
2aa6e9ff3d
Run generators in all submodules (#705) 2020-05-08 08:16:00 -07:00
Tyler Yahn
485cbd4e6a
Merge pull request #696 from tensorchen/api_alias
Alias api types to root
2020-05-07 07:51:58 -07:00
Tyler Yahn
3a69650c81
Merge branch 'master' into api_alias 2020-05-07 07:47:00 -07:00
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