Skip to content

[aws_sqs] enable agentless deployment for aws sqs metrics#18366

Merged
jakubgalecki0 merged 5 commits intoelastic:mainfrom
jakubgalecki0:aws_sqs_agentless
Apr 18, 2026
Merged

[aws_sqs] enable agentless deployment for aws sqs metrics#18366
jakubgalecki0 merged 5 commits intoelastic:mainfrom
jakubgalecki0:aws_sqs_agentless

Conversation

@jakubgalecki0
Copy link
Copy Markdown
Contributor

Proposed commit message

Enable agentless deployment for aws sqs metrics

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@jakubgalecki0 jakubgalecki0 requested review from a team as code owners April 13, 2026 10:03
Comment thread packages/aws/manifest.yml
categories:
- observability
inputs:
- type: aws/metrics
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IIRC, this metricset doesn't support load balancing—so if you run two instances with the same config they'll collect the same data.

Does agentless handle this scenario?

Copy link
Copy Markdown
Contributor Author

@jakubgalecki0 jakubgalecki0 Apr 13, 2026

Choose a reason for hiding this comment

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

As far as I understand in agentless mode we are responsible for running the agent but other than that it shouldn't differ much from standard agent based approach.

cc: @kpollich

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@zmoog: Are we talking about the scenario of multiple agents linked to 1 agent policy running the same config, polling the same CloudWatch namespace in the same region at the same time ?
Curioud how is duplication handled in case of agent based mode ?

One thing to note for agentless: It runs as 1 policy per pod. So 1 agent linked to 1 policy per pod. So if we have another instance of agent it would be part of a different policy and pod.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@zmoog: Are we talking about the scenario of multiple agents linked to 1 agent policy running the same config, polling the same CloudWatch namespace in the same region at the same time?

Yes, this is the case: 1 agent policy assigned to 2+ agents.

Curioud how is duplication handled in case of agent based mode?

AFAIK, it's not handled. I think there aren't many integrations that can be assigned to multiple agents to scale out (in the cloud space, I know integrations based on aws-s3/sqs or azure-eventhub inputs can).

One thing to note for agentless: It runs as 1 policy per pod. So 1 agent linked to 1 policy per pod. So if we have another instance of agent it would be part of a different policy and pod.

Got it, thanks! Looking forward to learn more about agentless.

@jakubgalecki0 jakubgalecki0 marked this pull request as draft April 13, 2026 10:26
@jakubgalecki0 jakubgalecki0 marked this pull request as ready for review April 16, 2026 10:40
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

Vale Linting Results

Summary: 2 warnings found

⚠️ Warnings (2)
File Line Rule Message
packages/aws/_dev/build/docs/sqs.md 35 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.
packages/aws/docs/sqs.md 35 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'using' instead of 'via'.

The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

Copy link
Copy Markdown
Member

@ishleenk17 ishleenk17 left a comment

Choose a reason for hiding this comment

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

Looks good!

@andrewkroh andrewkroh added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels Apr 16, 2026
Copy link
Copy Markdown
Contributor

@kcreddy kcreddy left a comment

Choose a reason for hiding this comment

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

LGTM after this minor change.
codeowner approval for aws package.

Comment thread packages/aws/changelog.yml Outdated
changes:
- description: Enable agentless deployment for AWS SQS metrics.
type: enhancement
link: https://github.com/elastic/integrations/pull/18365
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
link: https://github.com/elastic/integrations/pull/18365
link: https://github.com/elastic/integrations/pull/18366

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

elastic-vault-github-plugin-prod bot commented Apr 16, 2026

🚀 Benchmarks report

Package aws 👍(11) 💚(6) 💔(5)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
lambda_logs 10638.3 8264.46 -2373.84 (-22.31%) 💔
route53_public_logs 20408.16 15151.52 -5256.64 (-25.76%) 💔
securityhub_insights 1506.02 1221 -285.02 (-18.93%) 💔
cloudfront_logs 3322.26 2762.43 -559.83 (-16.85%) 💔
elb_logs 652.74 530.22 -122.52 (-18.77%) 💔

To see the full report comment with /test benchmark fullreport

Copy link
Copy Markdown
Contributor

@zmoog zmoog left a comment

Choose a reason for hiding this comment

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

LGTM.

Nit: We seem to have two different patterns emerging for agentless docs. Some use a dedicated 'Agentless Enabled Integration' section, and others bundle it under 'How do I deploy this?'. We should probably standardize this at some point to improve discoverability.

@ishleenk17
Copy link
Copy Markdown
Member

LGTM.

Non-blocking: Should we add the 'Agentless Enabled Integration' section to the docs for consistency with our other agentless integrations?

https://github.com/elastic/integrations/pull/18366/changes#diff-f343caa5586e738446eae34c3f3b12c7a7a5142e0c770d5230afefbe03f51e79R37

Something other than this ?

@zmoog
Copy link
Copy Markdown
Contributor

zmoog commented Apr 16, 2026

LGTM.
Non-blocking: Should we add the 'Agentless Enabled Integration' section to the docs for consistency with our other agentless integrations?

https://github.com/elastic/integrations/pull/18366/changes#diff-f343caa5586e738446eae34c3f3b12c7a7a5142e0c770d5230afefbe03f51e79R37

Something other than this ?

Sorry, I updated the comment but you've been faster: we seem to have two different patterns emerging for agentless docs. Some integrations use a single 'Agentless Enabled Integration' section, and others bundle it under 'How do I deploy this?' with agent and agentless sub-sections. We should probably standardize this at some point to improve discoverability.

Not required in this PR, a follow-up one is just fine, it this makes sense.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@jakubgalecki0 jakubgalecki0 merged commit 3a82e3e into elastic:main Apr 18, 2026
11 checks passed
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package aws - 6.8.0 containing this change is available at https://epr.elastic.co/package/aws/6.8.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:aws AWS Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants