Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sending out metrics to kinesis #5

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

irisgve
Copy link
Collaborator

@irisgve irisgve commented Oct 13, 2020

Description:

  • Add producer support for sending metrics
  • Leverage exporterhelper for creating new trace and metrics exporter
  • Change ConsumeX to return number of spans/metrics that will get dropped if Put errors out

@irisgve irisgve marked this pull request as ready for review October 13, 2020 21:43
@irisgve irisgve requested a review from Excaleo October 13, 2020 21:44
@@ -3,10 +3,12 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kinesi
go 1.14

require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running go mod tidy gives me this

@irisgve irisgve self-assigned this Oct 13, 2020
@irisgve irisgve merged commit 9ca43a3 into kinesisexporter Oct 13, 2020
@irisgve irisgve deleted the kinesisexporter-metricssupport branch October 13, 2020 23:48
irisgve added a commit that referenced this pull request Oct 14, 2020
Excaleo added a commit that referenced this pull request Oct 18, 2020
…ng (#9)

* Add OTLP marshalling support for kinesis exporter (#1)

Adding a Marshaller interface that allows encoding to different export formats
Add an OTLP marshaller with support for metrics

Co-authored-by: Iris Grace Endozo <[email protected]>

* Swapped kinesis opencensus producer with omnition producer

* Moved AWS/Kinesis setup to exporter.go

* Delete unused Message struct (#3)

Co-authored-by: Iris Grace Endozo <[email protected]>

* Integrated marshaller into trace path

* Adding tests for exporter and trace marshaling

* Support sending out metrics to kinesis (#5)

Co-authored-by: Iris Grace Endozo <[email protected]>

* Added Start function to factory and logging of producer failures

* Removed var

* Changed order of config variables

* Increase test coverage + some cleanups (#8)

* Add tests + private methods

* Add comments + fixes

Co-authored-by: Iris Grace Endozo <[email protected]>

* Add README.mdgst

* Added parallel testing and import order fixes

* Added pointer receivers

* Opentelemetry to OpenTelemetry

* Unused imports

* Add license and fix import order

* Fixed license

* Fix linting shadowing error

* Change readme descriptions

* Use sensible values in example config

* Added context validation in exporter

* Move invalid context as const

Co-authored-by: Iris Grace Endozo <[email protected]>
Co-authored-by: Raymond Wang <[email protected]>
irisgve pushed a commit that referenced this pull request Oct 29, 2020
This CR adds benchmarking tests for the AWS EMF Exporter.

Testing:
The new benchmarking tests were run locally.
sfarsaci pushed a commit that referenced this pull request May 27, 2021
…ng (#9)

* Add OTLP marshalling support for kinesis exporter (#1)

Adding a Marshaller interface that allows encoding to different export formats
Add an OTLP marshaller with support for metrics

Co-authored-by: Iris Grace Endozo <[email protected]>

* Swapped kinesis opencensus producer with omnition producer

* Moved AWS/Kinesis setup to exporter.go

* Delete unused Message struct (#3)

Co-authored-by: Iris Grace Endozo <[email protected]>

* Integrated marshaller into trace path

* Adding tests for exporter and trace marshaling

* Support sending out metrics to kinesis (#5)

Co-authored-by: Iris Grace Endozo <[email protected]>

* Added Start function to factory and logging of producer failures

* Removed var

* Changed order of config variables

* Increase test coverage + some cleanups (#8)

* Add tests + private methods

* Add comments + fixes

Co-authored-by: Iris Grace Endozo <[email protected]>

* Add README.mdgst

* Added parallel testing and import order fixes

* Added pointer receivers

* Opentelemetry to OpenTelemetry

* Unused imports

* Add license and fix import order

* Fixed license

* Fix linting shadowing error

* Change readme descriptions

* Use sensible values in example config

* Added context validation in exporter

* Move invalid context as const

Co-authored-by: Iris Grace Endozo <[email protected]>
Co-authored-by: Raymond Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants