at.happyproto.server.getIngestMetrics
How one of the caller's own instances handled incoming records in a window, by collection and action. Customers only.
Details · query
| Kind | query |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Query
query · GETParameters
query stringOutput
application/jsonWhether the instance is recording metrics at all.
retentionDays
integerOn 7d and 30d: how many days the instance keeps, so a longer window covers only that.
knownValues: 1h | 24h | 7d | 30d
Errors
InvalidRequest
The id is not a UUID, or the window is not one this method takes.
NotFound
No such instance, or it is not the caller's. These are indistinguishable.
MetricsUnavailable
The instance is not running, or its host cannot be reached.
MetricsBusy
Too many metrics reads are running for this instance or its host. Try again shortly.
MetricsTimeout
The instance's HappyView did not answer in time. Try again shortly.
NotSupported
The instance runs a HappyView too old to report its metrics. Upgrading it fixes this.
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not a HappyProto customer, or the provisioner refused them.
InvalidSlug
Passed through from the provisioner.
SlugTaken
Passed through from the provisioner.
NotEntitled
Passed through from the provisioner.
InstanceLimit
Passed through from the provisioner.
NoCapacity
Passed through from the provisioner.
OperationInProgress
Passed through from the provisioner.
Upstream
The provisioner is unreachable, not configured, or answered with an error it does not explain to callers.
#collection
objectOne collection and action's records. The rate is records over the window.
Properties
create, update or delete.
The record's NSID.
Records set aside after failing for good.
Records whose hook failed.
Each record's time through the pipeline.
Records whose hook ran out of time.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
How any tenant handled incoming records in a window, by collection and action. The same shape as server.getIngestMetrics. Admin only.
-
How one of the caller's own instances' scripts ran in a window: every script that ran, or with trigger, one script's series. Customers only.
-
How any tenant's scripts ran in a window: every script that ran, or with trigger, one script's series. The same shape as server.getScriptMetrics. Admin only.
-
One of the caller's instances' metered usage by hour or day, with the hours that have no report. Customers only.