xinghuayu007 opened a new pull request, #1517: URL: https://github.com/apache/incubator-pegasus/pull/1517
Related issue: https://github.com/apache/incubator-pegasus/issues/1206 This patch collects all raw metric data from pegasus, aggregate them into table/server/cluster level and sinks them into prometheus. If the type of the metric is replica partition, it will be aggregated into cluster level table metric. If the type of the metric is table, it will be aggregated into cluster level table metric, it also will be aggregated into server level table metric. If the type of the metric is server, it will be aggregated into cluster level table metric, it also will be sinked into prometheus directly. Currently, this patch supports 3 type of prometheus metric types: counter, gauge, summary. ### What problem does this PR solve? <!--add issue link with summary if exists--> ### What is changed and how does it work? ### Checklist <!--REMOVE the items that are not applicable--> ##### Tests <!-- At least one of them must be included. --> - Unit test - Integration test - Manual test (add detailed scripts or steps below) - No code ##### Code changes - Has exported function/method change - Has exported variable/fields change - Has interface methods change - Has persistent data change ##### Side effects - Possible performance regression - Increased code complexity - Breaking backward compatibility ##### Related changes - Need to cherry-pick to the release branch - Need to update the documentation - Need to be included in the release note -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
