Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

[Microsoft Foundry] Add Agent Metrics datastream#17422

Open
muthu-mps wants to merge 9 commits intoelastic:mainfrom
muthu-mps:add_agent_metrics
Open

[Microsoft Foundry] Add Agent Metrics datastream#17422
muthu-mps wants to merge 9 commits intoelastic:mainfrom
muthu-mps:add_agent_metrics

Conversation

@muthu-mps
Copy link
Contributor

@muthu-mpsmuthu-mps commentedFeb 16, 2026
edited
Loading

  • Enhancement

Proposed commit message

This PR adds support for Microsoft Foundry Agent metrics. The metrics is in preview state and its subject to change. Please see here for more details on theAI Agent metrics.

The AI Agent metrics is available underMicrosoft.CognitiveServices/accounts/projects resource type.

The alerting rule and the dashboard will be created once the metrics is Generally Available in Azure.

Checklist

  • I have reviewedtips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package'schangelog.yml file.
  • I have verified that Kibana version constraints are current according toguidelines.
  • I have verified that any added dashboard complies with Kibana'sDashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

Screenshot 2026-02-16 at 2 31 52 PM

@github-actions
Copy link
Contributor

github-actionsbot commentedFeb 16, 2026
edited
Loading

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against theElastic Docs style guide.

To use Vale locally or report issues, refer toElastic style guide for Vale.

@andrewkrohandrewkroh added documentationImprovements or additions to documentation. Applied to PRs that modify *.md files. Integration:azure_ai_foundryMicrosoft Foundry labelsFeb 16, 2026
@muthu-mpsmuthu-mps marked this pull request as ready for reviewFebruary 17, 2026 04:40
@muthu-mpsmuthu-mps requested a review froma team as acode ownerFebruary 17, 2026 04:40
@muthu-mpsmuthu-mps changed the titleAdd Agent Metrics datastream[Microsoft Foundry] Add Agent Metrics datastreamFeb 17, 2026
@muthu-mpsmuthu-mps self-assigned thisFeb 17, 2026
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with/test benchmark fullreport

Copy link

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull request overview

Adds a newagent_metrics metrics data stream to theazure_ai_foundry (Microsoft Foundry) integration to collect preview “AI Agents” metrics from Azure Monitor under theMicrosoft.CognitiveServices/accounts/projects resource type.

Changes:

  • Bumps package version to0.9.0 and adds changelog entry.
  • Addsagent_metrics data stream with fields, sample event, stream template, and ingest pipeline.
  • Updates user docs (source + built docs) with an Agent metrics section and exported fields reference.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
FileDescription
packages/azure_ai_foundry/manifest.ymlVersion bump + addsagent_metrics to policy template and moves azure/metrics vars to input-level.
packages/azure_ai_foundry/data_stream/metrics/manifest.ymlSimplifies metrics stream vars (leaves only processors) and adds title/description.
packages/azure_ai_foundry/data_stream/agent_metrics/manifest.ymlNew agent metrics data stream definition.
packages/azure_ai_foundry/data_stream/agent_metrics/agent/stream/stream.yml.hbsNew Azure Monitor metrics query template for agent metrics.
packages/azure_ai_foundry/data_stream/agent_metrics/elasticsearch/ingest_pipeline/default.ymlNew ingest pipeline to normalize agent metric field names.
packages/azure_ai_foundry/data_stream/agent_metrics/fields/*New field definitions for agent metrics (ECS/base + package + agent metrics fields).
packages/azure_ai_foundry/data_stream/agent_metrics/sample_event.jsonExample event for the agent metrics data stream.
packages/azure_ai_foundry/docs/README.mdAdds Agent metrics documentation and a full example event + exported fields table.
packages/azure_ai_foundry/_dev/build/docs/README.mdRegenerated built docs to include agent metrics event/fields.
packages/azure_ai_foundry/changelog.ymlAdds0.9.0 enhancement entry.

💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.


The Microsoft Foundry agent metrics provide visibility into agent activity and usage, such as token consumption, runs, and tool calls.

An example event for `agent` looks as following:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Minor grammar in the new agent metrics section: "looks as following" should be "looks as follows", and it would be clearer to reference the data stream name (e.g.agent_metrics /azure.ai_foundry.agent) rather than justagent.

Suggested change
An example event for`agent` looks asfollowing:
An example event forthe`agent_metrics` data stream (dataset`azure.ai_foundry.agent`) looks asfollows:

Copilot uses AI. Check for mistakes.
Comment on lines +25 to +31
resource_type: "Microsoft.CognitiveServices/accounts/projects"
metrics:
- name:
- AgentEvents
namespace: "Microsoft.CognitiveServices/accounts"
timegrain: "PT1M"
ignore_unsupported: true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

In the resource_groups branch, the metrics blocks usenamespace: "Microsoft.CognitiveServices/accounts" while the resource type isMicrosoft.CognitiveServices/accounts/projects (and the default resource_query branch uses/accounts/projects). This mismatch will query the wrong Azure Monitor namespace for project-scoped agent metrics; update these namespaces toMicrosoft.CognitiveServices/accounts/projects for consistency.

Copilot uses AI. Check for mistakes.
@elasticmachine
Copy link

💚 Build Succeeded

History

cc@muthu-mps

@andrewkrohandrewkroh added the Team:Obs-InfraObsObservability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labelFeb 17, 2026
Comment on lines +29 to +31
- set:
field: error.message
value: '{{ _ingest.on_failure_message }}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
-set:
field:error.message
value:'{{_ingest.on_failure_message}}'
-set:
field:error.message
value:'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.pipeline}}} failed with message: {{{_ingest.on_failure_message}}}'

mykola-elastic reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpop63gpop63gpop63 left review comments

Copilot code reviewCopilotCopilot left review comments

@stefans-elasticstefans-elasticstefans-elastic approved these changes

@mykola-elasticmykola-elasticmykola-elastic approved these changes

@jakubgalecki0jakubgalecki0jakubgalecki0 approved these changes

At least 1 approving review is required to merge this pull request.

Assignees

@muthu-mpsmuthu-mps

Labels

documentationImprovements or additions to documentation. Applied to PRs that modify *.md files.Integration:azure_ai_foundryMicrosoft FoundryTeam:Obs-InfraObsObservability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

7 participants

@muthu-mps@elasticmachine@gpop63@stefans-elastic@mykola-elastic@jakubgalecki0@andrewkroh

[8]ページ先頭

©2009-2026 Movatter.jp