Skip to content

Commit

Permalink
fix(ec2): fix tag format
Browse files Browse the repository at this point in the history
  • Loading branch information
zuluecho9 committed Oct 25, 2021
1 parent 9d6b2ad commit c43c273
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,19 @@ You can change the polling frequency and filter data using [configuration option

Beginning October 26, 2021, New Relic-monitored EC2 metadata [tags](/docs/new-relic-one/use-new-relic-one/core-concepts/use-tags-help-organize-find-your-data) have the following formats:

* Tag format in UI: `tag.<var>tagName</var>`
* Tag format as [attribute](/docs/using-new-relic/welcome-new-relic/get-started/glossary/#attribute): `provider.<var>attributeName</var>`. Examples: `provider.ec2InstanceId`, `provider.ec2State`, `provider.ec2AmiId`.
* Tag format in UI: `tag.tagName`
* Tag format as [attribute](/docs/using-new-relic/welcome-new-relic/get-started/glossary/#attribute): `provider.attributeName`. Examples: `provider.ec2InstanceId`, `provider.ec2State`, `provider.ec2AmiId`.

For EC2 instances monitored by New Relic before October 26, 20201, you have the option to keep our legacy metadata tag format. In the New Relic's EC2 configuration UI, you can select **Keep legacy metadata format**. Keeping the legacy metadata format allows you to access the tags with both legacy and non-legacy formats. Turning off the legacy format off means you can only use the new format. If you disable the legacy format, consider checking to see if you have dashboards or alert conditions using that format.

The legacy metadata tag format:

* Legacy tag format in UI:
* `provider.ec2Tag_<var>tagName</var>`
* `ec2Tag_<var>tagName</var>`
* `provider.ec2Tag_tagName`
* `ec2Tag_tagName`
* Legacy tag format as attribute:
* `<var>attributeName</var>`. Examples: `ec2InstanceId`, `ec2State`, `ec2AmiId`.
* `attributeName`. Examples: `ec2InstanceId`, `ec2State`, `ec2AmiId`.

Attribute format:
* `provider.\<attributeName\>`. Examples: `provider.ec2InstanceId`, `provider.ec2State`, `provider.ec2AmiId`.

## Use data in New Relic UI [#view-ec2]

Expand Down

0 comments on commit c43c273

Please sign in to comment.