Watch Elastic Metricbeat for Performance Measurement Jobs
This commit introduces a client implementation to interact with the
Elasticsearch API, enabling the querying of event types for performance
measurement jobs.
Test Plan:
PASS - Verify that the aggregation datasets for performance measurement
jobs are collected as expected.
PASS - Test the performance measurement jobs API to ensure it returns
the correct results.
PASS - Confirm that if Elasticsearch is not available, the watcher skips
the performance measurement (PM) portion as intended.
PASS - Ensure that existing performance measurement jobs are skipped
and not duplicated.
Change-Id: I399c5c14b585ff9e05d7aaea582bd824733e8da3
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
(cherry picked from commit
c97804097cd84f3f223a23016ff142724e88e481)