Robert Pająk
7dea232a46
[chore] Simplify the license header ( #4987 )
2024-02-29 07:05:28 +01:00
David Ashpole
1074d64d04
Add scope version to opencensus trace and metric bridges ( #4584 )
2023-10-11 08:48:58 +02:00
David Ashpole
68241aff1d
opencensus.NewMetricProducer returns a struct instead of the metric.Producer ( #4583 )
2023-10-09 16:04:32 +02:00
David Ashpole
0f09b9b2d8
Add options to opencensus bridge, and install tracer instead of returning ( #4567 )
...
* Add options to opencensus bridge, and install tracer instead of returning
* add unit test
* update unit tests
* fix example
* import ordering
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-09-29 08:07:06 -07:00
David Ashpole
d3e31c3d93
Remove deprecated opencensus.NewMetricExporter ( #4566 )
2023-09-28 10:19:31 +02:00
Tyler Yahn
e0a39b8f7d
Fix bridge/opencensus
NewMetricExporter
deprecation notice ( #4470 )
...
* Fix bridge/opencensus NewMetricExporter dep notice
* Link to NewMetricProducer
* Add PR number to changelog
2023-08-29 15:02:43 -07:00
Sinan Ülker
7fc24d2b14
Update the metric Export
interface to accept a *ResourceMetrics
instead of ResourceMetrics
( #3853 )
...
* Change the signature of Export method
* Pass tests for otlp exporter
* Pass tests for otlp grpc and http packages
* Update opencensus bridge
* Refactor and pass tests for stdoutmetric package
* Update periodic reader tests
* Update changelog
* Apply suggestions
* Apply suggestions
* Update CHANGELOG.md
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-03-16 10:58:43 -07:00
Mori
3a40e65a38
Update go directive value in go.mod files to 1.19 ( #3850 )
...
* remove go 1.18 in go.mod, add go 1.19
* revert //+build directives
* remove +build directives
---------
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-03-15 09:52:04 -07:00
David Ashpole
a724cf8842
Update OpenCensus metric bridge to use the metric.Producer interface ( #3541 )
...
* update OpenCensus metric bridge to use the metric.Producer interface
* return nil for empty metrics
* fix nits
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-12-19 08:05:46 -08:00
David Ashpole
ffa94ca529
Improve test coverage, and don't send empty batches in OC bridge ( #3263 )
...
* improve test coverage, and don't send empty batches in OC bridge
* Update bridge/opencensus/metric_test.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* remove 1.18 rule
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-10-11 08:50:09 -07:00
Kuisong Tong
efdbe5aad1
pass res to exporter ( #3250 )
2022-10-02 08:45:13 -07:00
David Ashpole
038248b8a2
Re-add previous metric bridge ( #3192 )
...
* re-add previous metric bridge
* move bridge/opencensus/opencensusmetric to bridge/opencensus/internal/ocmetric/
* add resource and scope to opencensus metric bridge
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-09-20 12:14:28 -07:00