collect ama-logs process metrics through telegraf#1629
Open
zanejohnson-azure wants to merge 8 commits intoci_prodfrom
Open
collect ama-logs process metrics through telegraf#1629zanejohnson-azure wants to merge 8 commits intoci_prodfrom
zanejohnson-azure wants to merge 8 commits intoci_prodfrom
Conversation
- Add procstat-telegraf.conf template (baked into image) - Add logic in main.sh to start 2nd telegraf with HOST_PROC=/proc when agent_settings.procstat_monitoring.enabled=true in ConfigMap - Add procstat_monitoring setting to container-azm-ms-agentconfig.yaml - 2nd telegraf only runs procstat, uses /proc (container-scoped) while main telegraf keeps HOST_PROC=/hostfs/proc for disk/net
… env var from ruby parser
…placeholder, ControllerType tag
…g, reduce fieldpass to cpu_usage+memory_rss
| @@ -1,2 +1,5 @@ | |||
| # to merge trivy scan PR, temporarily ignore CVE-2026-24051 until a fix is available | |||
| CVE-2026-24051 No newline at end of file | |||
| CVE-2026-24051 | |||
Contributor
Author
There was a problem hiding this comment.
temporarily added for building image for testing
| @@ -0,0 +1,139 @@ | |||
| # Telegraf config for collecting process metrics inside ama-logs containers. | |||
Contributor
Author
There was a problem hiding this comment.
take a conservative approach to monitor all processes owned by ama-logs because we only use this for ama-logs model clusters, so data volume is not a problem.
| @@ -0,0 +1,167 @@ | |||
| # Telegraf config for collecting process metrics inside ama-logs containers. | |||
Contributor
Author
There was a problem hiding this comment.
same as linux, monitor all processes related to ama-logs.
Contributor
Author
zanejohnson-azure
left a comment
There was a problem hiding this comment.
comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test: https://ms.portal.azure.com/#blade/AppInsightsExtension/WorkbookViewerBlade/ComponentId/%2Fsubscriptions%2F13d371f9-5a39-46d5-8e1b-60158c49db84%2FresourceGroups%2FContainerInsightsAgent-Prod%2Fproviders%2Fmicrosoft.insights%2Fcomponents%2FContainerInsightsAgent-Prod/ConfigurationId/%2Fsubscriptions%2F13d371f9-5a39-46d5-8e1b-60158c49db84%2Fresourcegroups%2Fcontainerinsightsagent-prod%2Fproviders%2Fmicrosoft.insights%2Fworkbooks%2F44b82d05-8e89-4425-baf0-c81e458e04a7/WorkbookTemplateName/ama-logs-process-metrics-zane-demo