Docker-Provider icon indicating copy to clipboard operation
Docker-Provider copied to clipboard

custom metrics migration

Open pfrcks opened this issue 11 months ago • 3 comments

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 methods GetAllMetricsCAdvisor and GetConfigzCAdvisor to the file.
  • source/plugins/go/input/lib/applicationinsights.go: Modified the init function to use the new IsIgnoreProxySettings, GetProxyEndpoint, and IsProxyCACertConfigured methods. [1] [2]
  • source/plugins/go/input/lib/kubernetesapiclient.go: Added new methods GetNodesResourceUri, isAROV3Cluster, GetKubeResourceInfo, and GetKubeAPIServerUrl to the file.
  • source/plugins/go/input/lib/proxyutils.go: Changed getProxyEndpoint, isProxyCACertConfigured, and isIgnoreProxySettings methods to GetProxyEndpoint, IsProxyCACertConfigured, and IsIgnoreProxySettings respectively, making them publicly accessible. [1] [2]

Addition of new files:

  • source/plugins/go/input/lib/clusteridentity.go: Added a new file that includes the ArcK8sClusterIdentity struct 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

pfrcks avatar Mar 11 '24 21:03 pfrcks

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.

github-actions[bot] avatar Mar 19 '24 10:03 github-actions[bot]

This PR was closed because it has been stalled for 12 days with no activity.

github-actions[bot] avatar Mar 26 '24 10:03 github-actions[bot]

seperate vs combined vs 3.1.18 (optimization disabled) output under load (vm ending in 0001) and no load (vm ending in 0000)

image

pfrcks avatar Mar 28 '24 19:03 pfrcks

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.

github-actions[bot] avatar Apr 13 '24 10:04 github-actions[bot]

This PR was closed because it has been stalled for 12 days with no activity.

github-actions[bot] avatar Apr 18 '24 10:04 github-actions[bot]

This PR was closed because it has been stalled for 12 days with no activity.

github-actions[bot] avatar Apr 25 '24 10:04 github-actions[bot]

This PR was closed because it has been stalled for 12 days with no activity.

github-actions[bot] avatar May 02 '24 10:05 github-actions[bot]