Joshua MacDonald
3475d5575e
Fix incorrect aggregation; Prometheus exporter behavior ( #903 )
...
* Avoid applying stale udpates; add a test
* Add Memory option to basic processor
* Always use memory in the pull controller
* Test the memory option
* Precommit
* Add a Prometheus-specific test
* More comment on Memory option
* Link to 862
* Remove sleep
* Update changelog
* Comment on stale and stateless aggregators
* Update sdk/metric/processor/basic/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 12:52:35 -07:00
Tyler Yahn
808345cbf6
Bump CircleCI instance size ( #917 )
...
Related to #907
2020-07-07 10:35:37 -07:00
Anthony Mirabella
c219029606
Update otel-collector example to use collector v0.5.0 ( #915 )
...
* Update otel-collector example to use collector v0.5.0
* 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-07-07 10:26:47 -07:00
Anthony Mirabella
1c6ca87dec
Ensure clientTracer closes http.headers span ( #912 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 10:08:40 -07:00
ET
463c458daf
Add more database-specific semantic attributes ( #899 )
...
* Adds Database-specific semantic attributes.
* Add CHANGELOG
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 09:22:26 -07:00
Matej Gera
5a4b68c7bf
Add semantic convention for faas.coldstart
and container.id
( #909 )
...
* Add semantic convention for faas coldstart and container ID
* Update Changelog
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 09:05:30 -07:00
Anthony Mirabella
eaa94e92b9
Avoid setting span status to Unknown when no HTTP status is provided; stdlib assumes it to be 200 OK
( #908 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-07 09:00:21 -07:00
dependabot[bot]
9342eb24f1
Bump github.com/golangci/golangci-lint from 1.28.0 to 1.28.1 in /tools ( #913 )
...
* Bump github.com/golangci/golangci-lint from 1.28.0 to 1.28.1 in /tools
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.28.0...v1.28.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-07-07 08:27:12 -07:00
Joshua MacDonald
27e892aad2
Remove -v from Go tests ( #904 )
...
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-07-06 11:41:12 -04:00
ET
bd1e174e60
Add "peer.service" semantic to standard attributes ( #898 )
...
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-07-06 11:36:49 -04:00
dependabot[bot]
8d1f448ade
Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0 in /tools ( #901 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-07-06 10:14:30 -04:00
Chen Yixiao
550d365c54
fix trace event time conversion from internal to otlp ( #896 )
...
* fix trace event time conversion from internal to otlp
* Enhance the effectiveness of SpanEvent test
* Empty
2020-07-05 09:32:40 -07:00
Liz Fong-Jones
f1e3536baf
Update opentracing dependency ( #885 )
...
Co-authored-by: lizthegrey <lizthegrey@users.noreply.github.com>
2020-07-01 17:51:06 -04:00
dependabot[bot]
f4b156823c
Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools ( #883 )
...
* Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/itchyny/gojq/releases )
- [Changelog](https://github.com/itchyny/gojq/blob/master/CHANGELOG.md )
- [Commits](https://github.com/itchyny/gojq/compare/v0.10.3...v0.10.4 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-07-01 08:49:10 -07:00
Tyler Yahn
8205b0b1e0
Update B3 header names ( #881 )
...
* Update B3 header names
Correct the B3 single header name from `X-B3` to `b3`.
Use the lowercase version of the B3 multiple headers. This is based on
the fact that HTTP headers are case-insensitive, however, other
protocols may not be.
* Update Changelog
2020-06-30 18:21:13 -07:00
Anthony Mirabella
2635f96eba
Ask for changelog updates with PRs ( #879 )
...
* Ask for changelog updates with PRs
* Add PR ID to changelog entry
* move changelog entry to unreleased
2020-06-26 17:50:19 -07:00
Tyler Yahn
01b6452652
Update Changelog ( #878 )
...
Include last merge for the release.
2020-06-26 14:56:48 -07:00
Tyler Yahn
49ac8eb238
Prepare for the v0.7.0 release ( #876 )
...
* Prepare for releasing v0.7.0
* Update Changelog for v0.7.0 release
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-06-26 13:54:33 -07:00
Andrew
e8226c4e1d
Add default metrics to othttp instrumentation Fixes #542 ( #861 )
...
* Add default metrics to othttp instrumentation
* Changed metrics names, add tests, add standard labels to metrics
* Initialization global error handling, remove requests count metric, tuneup test
* Apply suggestions from code review
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-26 12:19:57 -07:00
Tyler Yahn
85c32d5024
Add Changelog ( #873 )
...
* Initial CHANGELOG
* v0.1.2
* v0.2.0
* v0.2.1
* v0.2.1.1
* v0.2.2
* Format with inline code objects
* v0.2.3
* v0.3.0
* v0.4.0
* v0.4.1
* v0.4.2
* v0.4.2
* v0.5.0
* v0.6.0
* Unreleased
* Fixes -> Fixed
2020-06-26 08:39:45 -07:00
ET
0594313fca
Update google.golang.org/grpc from 1.27.1 to 1.30.0 ( #870 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-24 16:07:08 -07:00
Mujtaba Ahmed
5be82c0e47
Added support array attributes ( #798 )
...
* Added support array attributes
* Changed function signature for AsArray attribute
* Fixed code comments for array attributes
* Fixed typos in comments in value.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-24 15:58:08 -07:00
Tyler Yahn
7d631dbfaa
Upgrade OTLP exporter to opentelemetry-proto matching the opentelemetry-collector v0.4.0 release ( #866 )
...
* Update OTLP to v0.4.0
* Update attribute transforms to use new KeyValue
* Update metric transforms
The labels are no longer included in the MetricDescriptor
Use new types.
* Fix OTLP integration tests
* Update example otel-collector go.sum
* Update metric integration testing
* Fix type error introduced in conflict resolution
* Deep clean of go.sum
Recreate go.sum for otel-collector example and OTLP exporter.
2020-06-24 14:02:13 -07:00
ET
2f59a27a28
Allow changes to go.sum *and* go.mod when running dependabot tidy-up ( #871 )
...
Transitive dependency changes sometimes do require a change to go.mod
files as well as go.sum. This is already live in the
opentelemetry-go-contrib repo, and this PR brings it here.
2020-06-24 13:35:14 -07:00
dependabot[bot]
9cdfdb2d3a
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 ( #824 )
...
* Bump github.com/stretchr/testify from 1.4.0 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* Update go.mod
* math.Inf(1)+math.Inf(-1)=NaN
Math is hard
* Remove indirect transitive dependency
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-06-24 11:16:21 -07:00
dependabot[bot]
18b096208c
Bump github.com/prometheus/client_golang from 1.7.0 to 1.7.1 in /exporters/metric/prometheus ( #867 )
...
* Bump github.com/prometheus/client_golang in /exporters/metric/prometheus
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.7.0...v1.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2020-06-24 10:10:41 -07:00
ET
a8faf8cacc
Eliminate Uint64NumberKind from API ( #864 )
...
fixes #851
This includes all of the associated methods, such as
AsUint64, AsUint64Atomic, AsUint64Ptr, CoerceToUint64, SetUint64
SetUint64Atomic, SwapUint64, SwapUint64Atomic, AddUint64,
AddUint64Atomic, CompamreAndSwapUint64, CompareUint64
Only significant change as a result was converting the histogram
aggregator's `count` state field into an int64 from a `metric.Number`.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 16:28:04 -07:00
ET
665c0de552
Fix affiliation of reviewer Evan Torrie ( #865 )
2020-06-23 15:49:24 -07:00
Joshua MacDonald
2966505271
Rename Integrator to Processor ( #863 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 12:00:15 -07:00
dependabot[bot]
4e71b4ef4f
Bump google.golang.org/grpc from 1.29.1 to 1.30.0 in /exporters/trace/jaeger ( #853 )
...
* Bump google.golang.org/grpc in /exporters/trace/jaeger
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.30.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 11:36:55 -07:00
dependabot[bot]
fdfb959a4a
Bump google.golang.org/grpc from 1.29.1 to 1.30.0 in /exporters/trace/zipkin ( #854 )
...
* Bump google.golang.org/grpc in /exporters/trace/zipkin
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.30.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Auto-fix go.sum changes in dependent modules
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 11:27:08 -07:00
Joshua MacDonald
0f682d9247
Lost commits of #840 ( #856 )
2020-06-23 11:14:26 -07:00
Joshua MacDonald
0382850707
Rename AggregationSelector to AggregatorSelector ( #859 )
2020-06-23 10:51:15 -07:00
Joshua MacDonald
ea53fb4d1a
Rename SynchronizedCopy to SynchronizedMove and update comment ( #858 )
2020-06-23 10:41:11 -07:00
Joshua MacDonald
d343f987f8
Rename simple integrator to basic integrator ( #857 )
...
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-23 10:36:10 -07:00
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]
54f64e9eec
Bump github.com/golangci/golangci-lint from 1.25.1 to 1.27.0 in /tools ( #828 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lizthegrey <lizthegrey@users.noreply.github.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-06-22 15:00:03 -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]
23c70ad925
Bump github.com/itchyny/gojq from 0.10.1 to 0.10.3 in /tools ( #830 )
...
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 14:22:21 -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