custom metrics migration
Adds custom metrics support to fluent-bit.
Here are the most important changes:
Changes to the configuration files:
-
build/linux/installer/conf/fluent-bit-common.conf: Added new OUTPUT section to the fluent-bit configuration file for telegraf metrics[1]](diffhunk://#diff-544ce0fd331abee45e4fcdc9c12c0fb5e315c51ec691e563b4e8a3920a6b3536R88-R111) [2] -
build/linux/installer/conf/fluent-bit-input.conf: Added a new INPUT section to the configuration file for telegraf input
Codebase improvements:
-
source/plugins/go/input/lib/cadvisor.go: Added new methodsGetAllMetricsCAdvisorandGetConfigzCAdvisorto the file. -
source/plugins/go/input/lib/applicationinsights.go: Modified theinitfunction to use the newIsIgnoreProxySettings,GetProxyEndpoint, andIsProxyCACertConfiguredmethods. [1] [2] -
source/plugins/go/input/lib/kubernetesapiclient.go: Added new methodsGetNodesResourceUri,isAROV3Cluster,GetKubeResourceInfo, andGetKubeAPIServerUrlto the file. -
source/plugins/go/input/lib/proxyutils.go: ChangedgetProxyEndpoint,isProxyCACertConfigured, andisIgnoreProxySettingsmethods toGetProxyEndpoint,IsProxyCACertConfigured, andIsIgnoreProxySettingsrespectively, making them publicly accessible. [1] [2]
Addition of new files:
-
source/plugins/go/input/lib/clusteridentity.go: Added a new file that includes theArcK8sClusterIdentitystruct and related methods, which are used for managing the cluster identity.
Updates to dependencies:
-
source/plugins/go/src/go.mod: Updated the Go version and several dependencies, and added new dependencies to the project.
New functionality to process custom metrics
- Update oms.go to process metrics coming from telegraf, cadvisor and insights metrics. Use a new package named mdm inside the src module to do all the processing
This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This PR was closed because it has been stalled for 12 days with no activity.
seperate vs combined vs 3.1.18 (optimization disabled) output under load (vm ending in 0001) and no load (vm ending in 0000)
This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This PR was closed because it has been stalled for 12 days with no activity.
This PR was closed because it has been stalled for 12 days with no activity.
This PR was closed because it has been stalled for 12 days with no activity.