Values.ScraperDescriptionSourceThe ScraperDescription structure contains the full details about one scraper in your account.
type nonrec t = {alias : ScraperAlias.t option;(Optional) A name associated with the scraper.
*)scraperId : ScraperId.t option;The ID of the scraper. For example, s-example1-1234-abcd-5678-ef9012abcd34.
*)arn : ScraperArn.t option;The Amazon Resource Name (ARN) of the scraper. For example, arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34.
*)roleArn : IamRoleArn.t option;The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf. For example, arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example.
*)status : ScraperStatus.t option;A structure that contains the current status of the scraper.
*)createdAt : Timestamp.t option;The date and time that the scraper was created.
*)lastModifiedAt : Timestamp.t option;The date and time that the scraper was last modified.
*)statusReason : StatusReason.t option;If there is a failure, the reason for the failure.
*)scrapeConfiguration : ScrapeConfiguration.t option;The configuration in use by the scraper.
*)source : Source.t option;The Amazon EKS cluster from which the scraper collects metrics.
*)destination : Destination.t option;The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
*)roleConfiguration : RoleConfiguration.t option;This structure displays information about the IAM roles used for cross-account scraping configuration.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ScraperAlias.t
| `Structure of
(string
* [> `Blob of Blob.t
| `Enum of string
| `String of IamRoleArn.t
| `Structure of
(string
* [> `List of [> `String of SecurityGroupId.t ] list
| `String of ClusterArn.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]