ZettaIO / cachet-client

A python 3.6+ client for the Cachet API : https://cachet-client.readthedocs.io/
MIT License
14 stars 8 forks source link

Support "visible" property of component groups #9

Closed ccampo133 closed 4 years ago

ccampo133 commented 4 years ago

Cachet allows you to set a "visible" flag (bit value, 1 or 0) for component groups, indicating whether the group is visible to the public or not. The functionality is equivalent to the existing "visible" functionality for incident. For component groups however, the feature currently appears to be undocumented, but it definitely is supported by the API.

I'm opening this issue with the hopes of the client allowing this visible flag to be set for component groups during creation and update, and retrieved during any gets.

einarf commented 4 years ago

It seems 2.3 doesn't support this (as well as metrics and whatnot), but worst case this will return False if not supported by the cachet version, something I think is reasonable.

ccampo133 commented 4 years ago

Gotcha. I didn't even bother checking the Cachet version I am working against, but it appears to be 2.4.0-dev.

einarf commented 4 years ago

There are some small bits of work remaining for 2.4. Metrics, Metric points, scheduled maintenance (that was separated from incidents). I should probably upgrade and get that sorted soon.

einarf commented 4 years ago

2.0.0 on PyPI : https://pypi.org/project/cachet-client/2.0.0/