# Rust API client for dtz-observability a generated client for the DTZ Observability API ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0.4 - Package version: 1.0.4 - 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* | [**get_build_info**](docs/DefaultApi.md#get_build_info) | **GET** /prometheus/api/v1/status/buildinfo | retreive build information about the dtz backend *DefaultApi* | [**get_log_activity**](docs/DefaultApi.md#get_log_activity) | **GET** /log/activity | get log activity over time *DefaultApi* | [**get_log_attributes**](docs/DefaultApi.md#get_log_attributes) | **GET** /log/attribute | get log attributes *DefaultApi* | [**get_logs**](docs/DefaultApi.md#get_logs) | **GET** /log | get logs *DefaultApi* | [**get_metric_metadata**](docs/DefaultApi.md#get_metric_metadata) | **GET** /prometheus/api/v1/metadata | query metric metadata *DefaultApi* | [**get_stats**](docs/DefaultApi.md#get_stats) | **GET** /stats | get statistics *DefaultApi* | [**list_label_values**](docs/DefaultApi.md#list_label_values) | **GET** /prometheus/api/v1/label/{label}/values | list all available values for one labels *DefaultApi* | [**list_labels**](docs/DefaultApi.md#list_labels) | **GET** /prometheus/api/v1/labels | list all available labels *DefaultApi* | [**post_log**](docs/DefaultApi.md#post_log) | **POST** /log/push | push log data *DefaultApi* | [**post_metric**](docs/DefaultApi.md#post_metric) | **POST** /metric | push metric data *DefaultApi* | [**post_prometheus**](docs/DefaultApi.md#post_prometheus) | **POST** /prometheus | Push endpoint for prometheus data. *DefaultApi* | [**query_log_activity**](docs/DefaultApi.md#query_log_activity) | **POST** /log/activity | get log activity over time filtered *DefaultApi* | [**query_logs**](docs/DefaultApi.md#query_logs) | **POST** /log | query logs ## Documentation For Models - [DtzLogsInner](docs/DtzLogsInner.md) - [DtzMetric](docs/DtzMetric.md) - [GetBuildInfo200Response](docs/GetBuildInfo200Response.md) - [GetBuildInfo200ResponseData](docs/GetBuildInfo200ResponseData.md) - [GetLogActivity200ResponseInner](docs/GetLogActivity200ResponseInner.md) - [GetLogAttributes200ResponseInner](docs/GetLogAttributes200ResponseInner.md) - [GetMetricMetadata200Response](docs/GetMetricMetadata200Response.md) - [GetStats200Response](docs/GetStats200Response.md) - [ListLabelValues200Response](docs/ListLabelValues200Response.md) - [PostLogRequestInner](docs/PostLogRequestInner.md) - [PostLogRequestInnerAttachmentsInner](docs/PostLogRequestInnerAttachmentsInner.md) - [PostLogRequestInnerLinksInner](docs/PostLogRequestInnerLinksInner.md) - [QueryLogsRequest](docs/QueryLogsRequest.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author jens@apimeister.com