Skip to main content

Send a metrics report to this endpoint to be processed by the backend

POST 

/v1/:prefix/namespaces/:namespace/tables/:table/metrics

Send a metrics report to this endpoint to be processed by the backend

Request​

Path Parameters

    prefix stringrequired

    The catalog name in Gravitino, as returned in defaults.prefix by GET /v1/config

    namespace stringrequired

    A namespace identifier as a single string. Multipart namespace parts must be separated by the namespace separator as indicated via the /config override namespace-separator, which defaults to the unit separator 0x1F byte (url encoded %1F). To be compatible with older clients, servers must use both the advertised separator and 0x1F as valid separators when decoding namespaces. The namespace-separator should be provided in a url encoded form.

    Examples:

    Example: accounting

    table stringrequired

    A table name

    Example: sales

Body

required

The request containing the metrics report to be sent

    anyOf

    table-name stringrequired
    snapshot-id int64required

    filter

    object

    required

    oneOf

    type ExpressionType (string)required
    schema-id integerrequired
    projected-field-ids integer[]required
    projected-field-names string[]required

    metrics

    object

    required

    property name*

    MetricResult

    anyOf

    unit stringrequired
    value int64required

    metadata

    object

    property name* string
    report-type stringrequired

Responses​

Success, no content

Loading...