#contributions

Discussion on Merging Classes in Cluster Operations

TLDR Harpreet proposed merging Health and Metrics classes into Operations. However, Kishore Nallan expressed concerns about the potential for these classes to evolve in the future.

Powered by Struct AI

1

Jul 06, 2021 (31 months ago)
Harpreet
Photo of md5-745d880d794220d9f0fb9ade17c6b861
Harpreet
08:22 AM
Also I'm thinking of merging Health and Metrics classes into Operations since the docs mention them under the Cluster Operations topic.
Something like adding getHealthStatus and getMetrics functions to Operations
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:33 AM
Not sure if metrics belongs in operations because I can see it becoming more feature rich in future. For health, in future if we provided per node health status etc. again it can either have other actions or atleast take other parameters.

1