Skip to content

Amp ​

Parity grade: B · SDK aws-sdk-go-v2/service/amp@v1.54.5 · last audited 2026-10-18 (c1af87ba3)

Category: Other · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited44 (44 ok)
Feature families9 (9 ok)
Known gaps2
Structural gaps (can't be emulated)2
Deferred items0
Resource leaksclean

Known Gaps ​

  • PromQL: native histograms are queryable only through a bare selector (histogram_count/sum/avg/stddev/stdvar/quantile/fraction(metric) and the selector itself); rate, increase, sum, arithmetic and subqueries over native histograms are not implemented and treat them as absent; custom-bucket (NHCB, schema -53) histograms are rejected; the quantile, stddev and fraction maths follow the Prometheus histogram documentation from memory and are unverified against a real Prometheus; limit_ratio samples by an FNV hash of the label set, not Prometheus' hash, so the selected series differ from Prometheus (the positive/negative ratio complement property holds).
  • Authorization: with --validate-sigv4 the data plane requires an aps-scoped SigV4 signature checked against --sigv4-secret and evaluates the workspace resource policy by account only (the IAM evaluator ignores Principal); not published: checked AMP APIReference CommonErrors.html and the user guide troubleshooting page, which list IncompleteSignature and AccessDeniedException but not the data-plane codes for a missing or mis-scoped signature (emulator answers MissingAuthenticationToken and IncompleteSignatureException, 403); cross-account callers resolve workspaces in their own account, so a cross-account allow still answers 404

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • No ingestion at scale or durable storage: samples live in process memory (and the persistence snapshot), there is no compaction, replication or long-term object storage.
  • The default scraper configuration document returned by GetDefaultScraperConfiguration is AWS-authored text; the emulator serves an equivalent Kubernetes service-discovery configuration.

Audited Operations ​

44 audited operations
OperationWireErrorsStatePersist
CreateAlertManagerDefinitionokokokok
CreateAnomalyDetectorokokokok
CreateLoggingConfigurationokokokok
CreateQueryLoggingConfigurationokokokok
CreateRuleGroupsNamespaceokokokok
CreateScraperokokokok
CreateWorkspaceokokokok
DeleteAlertManagerDefinitionokokokok
DeleteAnomalyDetectorokokokok
DeleteLoggingConfigurationokokokok
DeleteQueryLoggingConfigurationokokokok
DeleteResourcePolicyokokokok
DeleteRuleGroupsNamespaceokokokok
DeleteScraperokokokok
DeleteScraperLoggingConfigurationokokokok
DeleteWorkspaceokokokok
DescribeAlertManagerDefinitionokokokok
DescribeAnomalyDetectorokokokok
DescribeLoggingConfigurationokokokok
DescribeQueryLoggingConfigurationokokokok
DescribeResourcePolicyokokokok
DescribeRuleGroupsNamespaceokokokok
DescribeScraperokokokok
DescribeScraperLoggingConfigurationokokokok
DescribeWorkspaceokokokok
DescribeWorkspaceConfigurationokokokok
GetDefaultScraperConfigurationokokokok
ListAnomalyDetectorsokokokok
ListRuleGroupsNamespacesokokokok
ListScrapersokokokok
ListTagsForResourceokokokok
ListWorkspacesokokokok
PutAlertManagerDefinitionokokokok
PutAnomalyDetectorokokokok
PutResourcePolicyokokokok
PutRuleGroupsNamespaceokokokok
TagResourceokokokok
UntagResourceokokokok
UpdateLoggingConfigurationokokokok
UpdateQueryLoggingConfigurationokokokok
UpdateScraperokokokok
UpdateScraperLoggingConfigurationokokokok
UpdateWorkspaceAliasokokokok
UpdateWorkspaceConfigurationokokokok

Audited Feature Families ​

Feature FamilyStatus
Workspaceok
RuleGroupsNamespaceok
Scraperok
AnomalyDetectorok
Tagsok
RemoteWriteok
Queryok
AlertManagerok
PromQLok

Released under the MIT License.