moonbitstack/moonp8s/push does not have a README file

    PushRequest

    pub(all) struct PushRequest {
    http_method : String
    path : String
    headers : Array[(String, String)]
    body : String
    }

    A push gateway request: the method, the absolute URL path, the headers, and the body. The caller sends it with whatever HTTP client it has; this package never touches a socket.

    delete

    fn delete(gateway : String, job : String, grouping_key? : Array[(String, String)]) -> PushRequest

    Build a DELETE that removes every series under job and grouping_key.

    push

    fn push(gateway : String, job : String, families : Array[
    MetricFamily
    ], grouping_key? : Array[(String, String)], format? :
    Format
    ) -> PushRequest

    Build a PUT that replaces every series under job and grouping_key with the exposition of families.

    push_add

    fn push_add(gateway : String, job : String, families : Array[
    MetricFamily
    ], grouping_key? : Array[(String, String)], format? :
    Format
    ) -> PushRequest

    Build a POST that replaces only the series named in families, leaving other series under the same job and grouping key alone.

    Source Files