1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-26 03:52:03 +02:00

456 Commits

Author SHA1 Message Date
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
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 exporters/trace/jaeger/v0.5.0 exporters/trace/zipkin/v0.5.0 example/grpc/v0.5.0 example/jaeger/v0.5.0 example/namedtracer/v0.5.0 example/prometheus/v0.5.0 example/zipkin/v0.5.0 exporters/metric/prometheus/v0.5.0 exporters/otlp/v0.5.0 example/http/v0.5.0 example/basic/v0.5.0 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
Ahmed Mujtaba
c40b3d47cf minor improvements in grpc interceptor test 2020-05-13 19:48:30 +02: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
Ahmed Mujtaba
cffc57c907 Added grpc stream interceptor client 2020-05-11 20:57:13 +02: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
Ahmed Mujtaba
02ff1be72c Minor fixes and improvment in GRPC urinary interceptor test 2020-05-09 15:12:32 +02:00
Ahmed Mujtaba
6bfa16ecef Added test case for grpc UrinaryInterceptorClient 2020-05-09 04:00:15 +02: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