# Functions

Input: ctx (context.Context): Request-scoped data that transits processes and APIs.
Input: ctx (context.Context): Request-scoped data that transits processes and APIs.
Input: pollingInterval(int): Interval (minutes) at which metrics are fetched and indexed Descriptions: Fetch metrics will index node level and cluster level(if current node is master) parameters to opensearch index and deletes documents that are older than 72 hours Return:.
Input: ctx (context.Context): Request-scoped data that transits processes and APIs.
Input: ctx (context.Context): Request-scoped data that transits processes and APIs.

# Structs

ClusterMetrics holds the cluster level parameters that are to be populated and indexed into opensearch.
Description: NodeMetrics struct holds the node level metrics that are to be populated and indexed to elasticsearch.