本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
建立湊集器
注意
global: external_labels: domain_name:my-opensearch-domainscrape_configs: - job_name: opensearch-exporter scrape_interval: 60s
注意
-
{ "Effect": "Allow", "Principal": { "Service": [ "scraper.aps.amazonaws.com" ] }, "Action": "sts:AssumeRole", "Condition": { "ArnEquals": { "aws:SourceArn": "arn:aws:aps:aws-region:111122223333:scraper/scraper-id" }, "StringEquals": { "AWS:SourceAccount": "111122223333" } } } -
{ "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::111122223333:role/Source" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals": { "sts:ExternalId": "arn:aws:aps:aws-region:111122223333:scraper/scraper-id" } } } -
aws amp create-scraper \ --source '{"vpcConfiguration":{"securityGroupIds":["sg-security-group-id"],"subnetIds":["subnet-subnet-id-1","subnet-subnet-id-2"]}}' \ --exporters '[{"openSearchConfiguration":{"domainArn":"arn:aws:es:aws-region:111122223333:domain/my-opensearch-domain"}}]' \ --scrape-configuration configurationBlob=<base64-encoded-blob>\ --destination '{"ampConfiguration":{"workspaceArn":"arn:aws:aps:aws-region:444455556666:workspace/ws-workspace-id"}}' \ --role-configuration '{"sourceRoleArn":"arn:aws:iam::111122223333:role/Source", "targetRoleArn":"arn:aws:iam::444455556666:role/Target"}' -
aws amp list-scrapers
尋找並刪除湊集器
注意
aws amp list-scrapers
aws amp delete-scraper --scraper-idscraperId
| 指標 | |
|---|---|
叢集中的節點數量。 |
|
| 指標 | |
|---|---|
|
|
|
|
相關指標包括 |
|
|
|
|
|
相關指標包括 |
|
|
|
相關指標包括 |
|
|
|
| 指標 | |
|---|---|
|
|
|
|
|
|
相關指標包括 |
|
|
|
相關指標包括 |
|
相關指標包括 |