8000 Add functional test by pleshakov · Pull Request #26 · nginx/telemetry-exporter · GitHub
[go: up one dir, main page]

Skip to content

Conversation

pleshakov
Copy link
Contributor

Proposed changes

Problem:
Ensure the exporter library correctly sends telemetry data via OTel

Solution:
Add a functional test:

  • Exporter sends telemetry data to an OTel collector
  • Ensure the collector successfully receives the data by looking at its logs
  • Include the test into GitHub pipeline.

CLOSES #7

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING
    guide
  • I have proven my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my 8000 changes
  • I have ensured the README is up to date
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch on my own fork

@pleshakov pleshakov requested a review from a team as a code owner February 26, 2024 15:48
@github-actions github-actions bot added dependencies Pull requests that update a dependency file tests Pull requests that update tests labels Feb 26, 2024
@nginx nginx deleted a comment from github-actions bot Feb 26, 2024
@pleshakov
Copy link
Contributor Author

forced pushed because of the rebase and conflict resolving of go.mod and go.sum files

@pleshakov pleshakov requested a review from ciarams87 February 29, 2024 14:53
@pleshakov
Copy link
Contributor Author

forced push to resolved conflicts in Makefile after merging #20

@pleshakov
Copy link
Contributor Author

@ciarams87 could you possibly double check these commits https://github.com/nginxinc/telemetry-exporter/pull/26/files/8274462eaf00342cf9a2cd8ec171aeb30a8ae373..fb1fba20f17e32957b3df33ef4a2f1e7407e2e9e - those were the results of merging Luca suggestions

@ciarams87
Copy link
Contributor

@ciarams87 could you possibly double check these commits https://github.com/nginxinc/telemetry-exporter/pull/26/files/8274462eaf00342cf9a2cd8ec171aeb30a8ae373..fb1fba20f17e32957b3df33ef4a2f1e7407e2e9e - those were the results of merging Luca suggestions

That looks fine. One non-blocking suggestion around uploading both unit-test coverage reports, otherwise looks good!

pleshakov and others added 8 commits March 6, 2024 09:26
Problem:
Ensure the exporter library correctly sends telemetry data via OTel

Solution:
Add a functional test:
- Exporter sends telemetry data to an OTel collector
- Ensure the collector successfully receives the data by looking at
its logs
- Include the test into GitHub pipeline.

CLOSES #7
Co-authored-by: Ciara Stacke <18287516+ciarams87@users.noreply.github.com>
Co-authored-by: Saylor Berman <s.berman@f5.com>
Co-authored-by: Luca Comellini <luca.com@gmail.com>
Co-authored-by: Luca Comellini <luca.com@gmail.com>
Co-authored-by: Ciara Stacke <18287516+ciarams87@users.noreply.github.com>
@pleshakov pleshakov merged commit e74e64e into main Mar 6, 2024
@pleshakov pleshakov deleted the test/collector branch March 6, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file tests Pull requests that update tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functional test
5 participants
0