#api-client #observability #generated-client #dtz #version #api-version

dtz-observability

a generated client for the DTZ Observability API

7 stable releases

new 1.0.6 Jan 2, 2025
1.0.5 Dec 28, 2024
1.0.4 Nov 11, 2024
1.0.2 Sep 25, 2024
1.0.0 Apr 14, 2024

#595 in Web programming

Download history 27/week @ 2024-09-11 69/week @ 2024-09-18 228/week @ 2024-09-25 28/week @ 2024-10-02 44/week @ 2024-10-09 94/week @ 2024-10-16 61/week @ 2024-10-23 410/week @ 2024-10-30 416/week @ 2024-11-06 80/week @ 2024-11-13 40/week @ 2024-11-20 9/week @ 2024-11-27 27/week @ 2024-12-04 15/week @ 2024-12-11 11/week @ 2024-12-18 170/week @ 2024-12-25

226 downloads per month
Used in dtz

MIT/Apache

51KB
868 lines

Rust API client for dtz-observability

a generated client for the DTZ Observability API

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.6
  • Package version: 1.0.6
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named dtz-observability and add the following to Cargo.toml under [dependencies]:

dtz-observability = { path = "./dtz-observability" }

Documentation for API Endpoints

All URIs are relative to https://observability.dtz.rocks/api/2021-12-21

Class Method HTTP request Description
DefaultApi disable POST /disable disable the observability service
DefaultApi enable POST /enable enable the observability service
DefaultApi get_build_info GET /prometheus/api/v1/status/buildinfo retreive build information about the dtz backend
DefaultApi get_log_activity GET /log/activity get log activity over time
DefaultApi get_log_attributes GET /log/attribute get log attributes
DefaultApi get_logs GET /log get logs
DefaultApi get_metric_metadata GET /prometheus/api/v1/metadata query metric metadata
DefaultApi get_stats GET /stats get statistics
DefaultApi list_label_values GET /prometheus/api/v1/label/{label}/values list all available values for one labels
DefaultApi list_labels GET /prometheus/api/v1/labels list all available labels
DefaultApi post_log POST /log/push push log data
DefaultApi post_metric POST /metric push metric data
DefaultApi post_prometheus POST /prometheus Push endpoint for prometheus data.
DefaultApi query_log_activity POST /log/activity get log activity over time filtered
DefaultApi query_logs POST /log query logs

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

jens@apimeister.com

Dependencies

~5–17MB
~253K SLoC