David C Wang
ce49579d66
Fixed OTLP example's accidental early close of exporter
...
* The exp.Stop() as argument to handleErr is getting executed
immediately. Wrap this with an anonymous func so that this
argument is executed when the defer statement is activated.
* From the "Tour of Go" docs on Defer: "The deferred call's arguments
are evaluated immediately, but the function call is not executed
until the surrounding function returns."
2020-06-09 20:36:17 +00:00
Tyler Yahn
9318a73297
Run precommit
2020-06-04 08:29:10 -07:00
Tyler Yahn
cafdc869ea
Merge branch 'master' into otlp-example
2020-06-04 08:19:57 -07:00
wtong98
f86491e1ec
Add replace directive to example go.mod
2020-06-02 14:31:30 -05:00
wtong98
cffb360324
Merge branch 'master' into otlp-example.
...
Sync the local branch with upstream changes
2020-06-02 14:28:46 -05:00
wtong98
4ac30219ae
Fix go.mod dependencies
2020-06-02 14:11:23 -05:00
wtong98
70d737b128
Split OTLP README to own directory
2020-06-01 13:27:23 -05:00
Tyler Yahn
9c6c712c54
Merge branch 'master' into otlp
2020-06-01 09:15:29 -07:00
wtong98
de094be4fc
Touch up details
2020-06-01 08:41:57 -05:00
Tyler Yahn
07d5f77749
Rename plugin directory to instrumentation ( #779 )
...
* Rename plugin directory to instrumentation
As per https://github.com/open-telemetry/opentelemetry-specification/pull/539
* Update package paths
* Fix tracer names in othttp instrumentation
2020-05-30 14:53:32 -07:00
Tyler Yahn
d917dd7d79
Lint
2020-05-29 11:04:57 -07:00
wtong98
94c630dbbb
Correct README links
2020-05-27 10:13:11 -05:00
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
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
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
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
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
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
Stefan Prisca
7c9f0696ca
Update Makefile
2020-05-19 07:29:52 +02: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
ee3c9ed1a5
Rename Observer to ValueObserver ( #734 )
...
* Observer -> ValueObserver
* Move wrappers into async.go
2020-05-18 11:03:43 -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
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
Stefan Prisca
e31b09388a
change api/core package to api/kv
2020-05-15 12:57:21 +02:00
Stefan Prisca
d623815dfc
Update README with latest changes
2020-05-15 11:46:53 +02:00
Stefan Prisca
612e894247
fix otlp receiver endpoint
2020-05-14 18:52:38 +02:00
Stefan Prisca
2e6011db7a
change collector image
2020-05-14 18:18:22 +02:00
Stefan Prisca
2c718982df
Merge branch 'master' of https://github.com/open-telemetry/opentelemetry-go into sp-master
2020-05-14 11:11:55 +02:00
Stefan Prisca
e9f185c396
add k8s files
2020-05-14 11:11:51 +02:00
Tyler Yahn
ce266f9656
Prepare for releasing v0.5.0
2020-05-13 17:11:23 -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
Stefan Prisca
46477e2fa4
fix precommit
2020-05-13 12:55:33 +02:00
Stefan Prisca
af27b4381a
Merge branch 'master' of github.com:stefanprisca/opentelemetry-go into sp-master
2020-05-13 12:40:02 +02:00
Stefan Prisca
d69386f56c
add resource attributes to provider
2020-05-13 12:38:23 +02:00
Stefan Prisca
bbb7763a84
add full collector config
2020-05-13 11:10:19 +02:00
Stefan Prisca
a09fd990c2
Update example/otel-collector/main.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-12 13:04:22 +02:00
Stefan Prisca
41ca31f31a
Update example/otel-collector/main.go
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-05-12 13:04:15 +02:00