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

Increase test coverage + some cleanups #8

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

irisgve
Copy link
Collaborator

@irisgve irisgve commented Oct 14, 2020

Description:

  • increase unit test coverage (includes adding a producer interface in the exporter
  • add support for sts credentials assuming AWS role provided
  • make unneeded public methods private
  • change ConsumeX names to pushX to avoid confusion with the ConsumeXData interface in otel collector

@irisgve irisgve force-pushed the kinesisexporter-tests branch 5 times, most recently from 242c206 to 69129cb Compare October 14, 2020 12:47
@irisgve irisgve marked this pull request as ready for review October 14, 2020 12:47
@irisgve irisgve self-assigned this Oct 14, 2020
@irisgve irisgve force-pushed the kinesisexporter-tests branch from 69129cb to c0c0519 Compare October 14, 2020 20:58
@irisgve irisgve requested a review from Excaleo October 14, 2020 20:58
@irisgve irisgve force-pushed the kinesisexporter-tests branch from c0c0519 to 7028067 Compare October 14, 2020 21:54
Copy link

@Excaleo Excaleo left a comment

Choose a reason for hiding this comment

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

Nice job on adding the tests. Added a few comments for review

exporter/kinesisexporter/factory_test.go Outdated Show resolved Hide resolved
exporter/kinesisexporter/factory_test.go Outdated Show resolved Hide resolved
exporter/kinesisexporter/exporter_test.go Outdated Show resolved Hide resolved
exporter/kinesisexporter/producer.go Show resolved Hide resolved
exporter/kinesisexporter/producer.go Show resolved Hide resolved
@irisgve irisgve requested a review from Excaleo October 15, 2020 01:27
@irisgve irisgve merged commit 1e46f2b into kinesisexporter Oct 15, 2020
@irisgve irisgve deleted the kinesisexporter-tests branch October 15, 2020 01:31
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]>
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]>
MovieStoreGuy pushed a commit that referenced this pull request Jan 28, 2023
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