/api/analytics

POST /api/analytics/internal

Changed on

Receive a batch of internal analytics events from the frontend and record them as Prometheus metrics. Only the counters in [[frontend-metrics]] can be incremented; other events are ignored.

post/api/analytics/internal

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

Response

Successful response

unknown required

Changes

    • breaking

      the request property const value inc was added

    • breaking

      removed the enum value clear of the request property //

    • breaking

      removed the enum value dec of the request property //

    • breaking

      removed the enum value inc of the request property //

    • breaking

      removed the enum value observe of the request property //

    • breaking

      removed the enum value set of the request property //

    • breaking

      removed subschema #1 subschema #2 from the // request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the // request property oneOf list

    • breaking

      the // request property type changed from string to no type

    • info

      added subschema #1 subschema #2 to the // request property anyOf list

    • info

      added subschema #1 subschema #2 to the // request property anyOf list

    • info

      endpoint added