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 for New Relic OTLP endpoint #786

Merged
merged 3 commits into from
Jan 2, 2024

Conversation

mdenomy
Copy link
Contributor

@mdenomy mdenomy commented Dec 7, 2023

Adds support for the New Relic OTLP logging endpoint

@mdenomy
Copy link
Contributor Author

mdenomy commented Dec 7, 2023

Ran make testacc TESTARGS='-run=TestAccFastlyServiceVCL_logging_newrelicotlp_basic' locally.

Note that this endpoint should only be used for VCL services, so did not add any support/testing for creating Compute services

Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

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

Thanks for re-opening this PR! The CI job passes now which is great 👍🏻

I have a few requested changes please.

fastly/block_fastly_service_logging_newrelicotlp.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp_test.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp_test.go Outdated Show resolved Hide resolved
fastly/block_fastly_service_logging_newrelicotlp_test.go Outdated Show resolved Hide resolved
mdenomy and others added 2 commits December 7, 2023 10:04
Co-authored-by: Mark McDonnell <Integralist@users.noreply.github.com>
* inlined some functions for readability
* removed some compute specific code (e.g pruning VCL)
Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

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

Thanks @mdenomy for this PR (and your patience waiting for a final review). All looks good to me 👍🏻

@Integralist Integralist merged commit 088ca40 into main Jan 2, 2024
7 checks passed
@Integralist Integralist deleted the mdenomy/log-1814-newrelic-otlp branch January 2, 2024 14:42
@Integralist Integralist added the enhancement New feature or request label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants