-
Notifications
You must be signed in to change notification settings - Fork 13
Add details for Topics and Consumer Groups into the Details Drawer #492
Comments
@jgiardino anything else you want to add ? |
This is great! Probably just worth pointing out that these would display above the other metadata in the Details tab. |
@pmuir Can you please confirm the above API function |
I'm not sure this is the right way to do it anymore. Since I wrote that We added the instant and range queries. You should just be able to use the instant query directly. Also those metrics aren't the ones for topic count of consumer group count, they are for partitions. |
@pmuir Can you please give me some idea how can i get the total topic and consumers from API |
I'm not sure this is exposed at the moment. @redmikhail @redhatHameed do we have a list of metrics available published somewhere? |
@pmuir I think that metrics marked for "UI" in this document https://docs.google.com/spreadsheets/d/17hLZkcyD1_ujzB0uZQnmdQdDSLDgkmieXgN6Sx9i5Aw/edit#gid=56854475 and listed here should be still more or less accurate https://docs.google.com/spreadsheets/d/1IumrFWNDSxxq58LEeQ0Hh-QPjpclNHrOMKYd3Exf-qA/edit#gid=1739826719 |
And I think @david-martin has a guide for how to request new metrics? |
And I believe this would be references in the code of fleet manager https://github.com/redhatHameed/kas-fleet-manager/blob/cd0c5004100b67c8237a63e1cfed71402461f94b/pkg/client/observatorium/api.go#L45 |
|
thanks, @redmikhail that's correct, There are two steps to expose any new metrics on UI. 2- update fleet manager code to that https://github.com/redhatHameed/kas-fleet-manager/blob/cd0c5004100b67c8237a63e1cfed71402461f94b/pkg/client/observatorium/api.go#L45 |
Just as an additional step to the guide mentioned by @david-martin , please also update the document https://docs.google.com/spreadsheets/d/17hLZkcyD1_ujzB0uZQnmdQdDSLDgkmieXgN6Sx9i5Aw/edit#gid=56854475 until we have better all encompassing document |
Spoke to David Martin about getting values for Topics / Consumer Groups and he gave me these formulas to use to calculate Topics / Consumer Groups: Number of Topics:
Number of partitions in each topic
Number of consumer groups
I'll be giving these a try shortly. |
This screenshot is from the user-testing URL. I believe we can replace these mock totals with actual data from the endpoint.
This is a function Pete wrote to Fetch Instant Metrics. We should also link to the Topics page and the Consumer Groups page in the Data Plane.
The text was updated successfully, but these errors were encountered: