William Tong
526b815f47
Merge otlp collector examples ( #841 )
...
* Add metric instrumentation to example
* Add prometheus configs
* Add prometheus kubernetes configs
* Correct Prometheus config files
* Tweak prometheus configs
* Change instrument to Counter
* Elaborate example README
* Polish submission
* Correct otel config
* Tweak details
* Update licensing text
* Modify licensing text
* Fix typos
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 08:37:07 -07:00
Joshua MacDonald
0e2fdfc682
Support cumulative, delta, and pass-through exporters ( #840 )
...
* Update Process()
* Checkpoint
* Add subtractor; fix test
* Fix all simple integrator tests
* Build the rest (checkpoint)
* Pass all but Prometheus tests
* Precommit pass
* Add aggregation.Kind argument to ExportKindFor
* Remove Subtractor support
* Remove dead test code
* Restore the Subtractor code
* Fix the tests
* Comments
* Add tests for MetricKind
* Add ChangeSign test
* Test ExportKind
* New file
* Rename ChangeSign
* Remove a TODO, add a TODO
* Remove Stateful remnants
* Typo
* Typo
* Test an invalid export kind
* Comments
* Lint
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-22 22:59:51 -07:00
Liz Fong-Jones
e5267a3aa8
Bumps github.com/golang/protobuf from 1.3.2 to 1.4.2 ( #848 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-22 17:59:28 -04:00
dependabot[bot]
14003ffac6
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/otlp ( #817 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: lizthegrey <lizthegrey@users.noreply.github.com>
2020-06-22 16:50:42 -04:00
dependabot[bot]
92058a3548
Bump github.com/prometheus/client_golang from 1.5.0 to 1.7.0 in /exporters/metric/prometheus ( #838 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lizthegrey <lizthegrey@users.noreply.github.com>
2020-06-22 14:54:56 -04:00
dependabot[bot]
0f65f61871
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/trace/jaeger ( #829 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 14:35:53 -04:00
dependabot[bot]
d9c309ff52
Bump github.com/benbjohnson/clock from 1.0.0 to 1.0.3 ( #815 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 14:31:36 -04:00
dependabot[bot]
97cca8a208
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/trace/zipkin ( #823 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 14:27:25 -04:00
dependabot[bot]
25887d5bff
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/metric/prometheus ( #822 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 14:18:36 -04:00
dependabot[bot]
1149892431
Bump google.golang.org/grpc from 1.27.1 to 1.29.1 in /exporters/trace/zipkin ( #820 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 14:11:03 -04:00
dependabot[bot]
693fa3d990
Bump google.golang.org/grpc from 1.27.1 to 1.29.1 in /exporters/trace/jaeger ( #831 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 13:58:02 -04:00
dependabot[bot]
59c658380b
Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 ( #836 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
2020-06-22 13:31:15 -04:00
dependabot[bot]
9a8674cbae
Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 in /exporters/trace/jaeger ( #837 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 13:01:08 -04:00
dependabot[bot]
818105ca73
Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 in /exporters/otlp ( #839 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 12:54:07 -04:00
dependabot[bot]
b0e67d2eb1
Bump google.golang.org/api from 0.20.0 to 0.28.0 in /exporters/trace/jaeger ( #843 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: evantorrie <evantorrie@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 12:48:52 -04:00
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