Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.02 KB

PrometheusSpec.md

File metadata and controls

31 lines (22 loc) · 1.02 KB

PrometheusSpec

PrometheusSpec is the Prometheus custom resource's spec.

Properties

Name Type Description Notes
external_labels Dict[str, str] [optional]
remote_write List[Dict[str, object]] [optional]

Example

from platform_api_python_client.models.prometheus_spec import PrometheusSpec

# TODO update the JSON string below
json = "{}"
# create an instance of PrometheusSpec from a JSON string
prometheus_spec_instance = PrometheusSpec.from_json(json)
# print the JSON string representation of the object
print(PrometheusSpec.to_json())

# convert the object into a dict
prometheus_spec_dict = prometheus_spec_instance.to_dict()
# create an instance of PrometheusSpec from a dict
prometheus_spec_from_dict = PrometheusSpec.from_dict(prometheus_spec_dict)

[Back to Model list] [Back to API list] [Back to README]