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
| Metric | Value |
|---|---|
| PARITY entries audited | 44 (44 ok) |
| Feature families | 9 (9 ok) |
| Known gaps | 2 |
| Structural gaps (can't be emulated) | 2 |
| Deferred items | 0 |
| Resource leaks | clean |
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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateAlertManagerDefinition | ok | ok | ok | ok |
CreateAnomalyDetector | ok | ok | ok | ok |
CreateLoggingConfiguration | ok | ok | ok | ok |
CreateQueryLoggingConfiguration | ok | ok | ok | ok |
CreateRuleGroupsNamespace | ok | ok | ok | ok |
CreateScraper | ok | ok | ok | ok |
CreateWorkspace | ok | ok | ok | ok |
DeleteAlertManagerDefinition | ok | ok | ok | ok |
DeleteAnomalyDetector | ok | ok | ok | ok |
DeleteLoggingConfiguration | ok | ok | ok | ok |
DeleteQueryLoggingConfiguration | ok | ok | ok | ok |
DeleteResourcePolicy | ok | ok | ok | ok |
DeleteRuleGroupsNamespace | ok | ok | ok | ok |
DeleteScraper | ok | ok | ok | ok |
DeleteScraperLoggingConfiguration | ok | ok | ok | ok |
DeleteWorkspace | ok | ok | ok | ok |
DescribeAlertManagerDefinition | ok | ok | ok | ok |
DescribeAnomalyDetector | ok | ok | ok | ok |
DescribeLoggingConfiguration | ok | ok | ok | ok |
DescribeQueryLoggingConfiguration | ok | ok | ok | ok |
DescribeResourcePolicy | ok | ok | ok | ok |
DescribeRuleGroupsNamespace | ok | ok | ok | ok |
DescribeScraper | ok | ok | ok | ok |
DescribeScraperLoggingConfiguration | ok | ok | ok | ok |
DescribeWorkspace | ok | ok | ok | ok |
DescribeWorkspaceConfiguration | ok | ok | ok | ok |
GetDefaultScraperConfiguration | ok | ok | ok | ok |
ListAnomalyDetectors | ok | ok | ok | ok |
ListRuleGroupsNamespaces | ok | ok | ok | ok |
ListScrapers | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
ListWorkspaces | ok | ok | ok | ok |
PutAlertManagerDefinition | ok | ok | ok | ok |
PutAnomalyDetector | ok | ok | ok | ok |
PutResourcePolicy | ok | ok | ok | ok |
PutRuleGroupsNamespace | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
UpdateLoggingConfiguration | ok | ok | ok | ok |
UpdateQueryLoggingConfiguration | ok | ok | ok | ok |
UpdateScraper | ok | ok | ok | ok |
UpdateScraperLoggingConfiguration | ok | ok | ok | ok |
UpdateWorkspaceAlias | ok | ok | ok | ok |
UpdateWorkspaceConfiguration | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
Workspace | ok |
RuleGroupsNamespace | ok |
Scraper | ok |
AnomalyDetector | ok |
Tags | ok |
RemoteWrite | ok |
Query | ok |
AlertManager | ok |
PromQL | ok |
