20 Jun 2024 03:15 PM
Was unable to find any properties or meta data for Storage Tier provisioned for AWS hosts. Is there a call out there to accomplish this?
The exposed disk members only contain performance data, not properties for storage tiers like S3 / Glacier, etc
https://{environmentid}.live.dynatrace.com/api/v2/entities/HOST-****
Thanks,
Brian
Solved! Go to Solution.
24 Jun 2024 08:42 AM
EC2 instances have relationships to AWS storage, this is displayed under the entity relationships.
Here is an example:
{
  "entityId": "EC2_INSTANCE-EF2433B7515B48A0",
  "type": "EC2_INSTANCE",
  "displayName": "flow-logs-ap-southeast-1a-ec2",
  ...
  "toRelationships": {
    "isDiskOf": [
      {
        "id": "EBS_VOLUME-6B4C8E3DE2799738",
        "type": "EBS_VOLUME"
      }
    ],
    "isSiteOf": [
      {
        "id": "AWS_AVAILABILITY_ZONE-134473C7CC0C725F",
        "type": "AWS_AVAILABILITY_ZONE"
      }
    ]
  }
}The details to the EBS volume
{
  "entityId": "EBS_VOLUME-6B4C8E3DE2799738",
  "type": "EBS_VOLUME",
  "displayName": "vol-08e3f531511",
  "properties": {
    "detectedName": "vol-08e3f5315116",
    "ebsSnapshotId": "snap-0337e5de65d",
    "iops": 100,
    "creationTimestamp": 1717685627536,
    "ebsType": "gp2",
    "arn": "arn
ec2:ap-southeast-1:2:volume/vol-08e3f5315",
    "deviceName": "/dev/sda1"
  },
  "tags": [
   ...
  ],
  "icon": {
    "primaryIconType": "amazon-ebs"
  },
  "fromRelationships": {
    "isDiskOf": [
      {
        "id": "EC2_INSTANCE-EF2433B7515B48A0",
        "type": "EC2_INSTANCE"
      }
    ]
  }
}You get the tier in the properties for the EBS volume, hope this helps.
This info comes from the entities API