Skip to content

Conversation

@joeysk2012
Copy link

@joeysk2012 joeysk2012 commented Jun 26, 2025

In order to track metrics in IMDS we have to make identifying calls from this package with a unique User-Agent header.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tested the change using TCP dump:

        GET /latest/meta-data/network/interfaces/macs/02:ca:ba:d2:fd:37/local-ipv4s HTTP/1.1
        Host: 169.254.169.254
        User-Agent: amazon-ec2-net-utils/2.6.1
        Accept: */*
        X-aws-ec2-metadata-token:............

In order to track metrics in IMDS we have to make identifying calls from this package with a unique User-Agent header.
@joeysk2012
Copy link
Author

Reviewed and approved internally.

@joeysk2012 joeysk2012 merged commit 3261b3b into amazonlinux:main Jun 27, 2025
4 checks passed
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