Skip to content

Add APM agent configuration #1196

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

Merged
merged 12 commits into from
Jul 21, 2025
Merged

Add APM agent configuration #1196

merged 12 commits into from
Jul 21, 2025

Conversation

tobio
Copy link
Member

@tobio tobio commented Jul 9, 2025

Fixes #315

A couple of things:

  • This is largely AI generated 🥳
  • Broken API specs are super annoying
  • This resource is explicitly setting the X-ElasticAPIVersion header. I can pull this out, but that means more code in transform_schema which I don't really want to add to unless it's strictly required. When these endpoints are eventually moved to the automatically generated schema (as opposed to the hand crafted one in use today), the existing code handling this header will kick in and we can tidy it up.

@tobio tobio requested a review from wandergeek July 9, 2025 12:16
@tobio tobio self-assigned this Jul 9, 2025
@tobio tobio requested review from dimuon and a team July 9, 2025 12:22
@tobio tobio mentioned this pull request Jul 14, 2025
Steps: []resource.TestStep{
{
Config: testAccResourceAgentConfigurationCreate(serviceName),
Check: resource.ComposeTestCheckFunc(
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO it makes sense to check id too.

Co-authored-by: Dmitry Onishchenko <[email protected]>
@tobio tobio requested a review from dimuon July 19, 2025 23:56
Copy link
Contributor

@dimuon dimuon left a comment

Choose a reason for hiding this comment

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

👍

@tobio tobio merged commit 6b34f12 into main Jul 21, 2025
48 checks passed
@tobio tobio deleted the apm-agent-configuration branch July 21, 2025 09:36
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.

[Feature] Support Kibana APM agent-configuration
2 participants