Skip to content

Improved wildcard support in windows.perfmon #48502

Description

@VihasMakwana

Describe the enhancement:

When using wildcards for perfmon objects in the windows Integration, the windows.perfmon.object field should show the actual object name, not the wildcard.

Example objects:

sql_server1:Databases
Sql_testServer:Databases
SomeOtherSQLVersion:Databases

Example config:

object: "*:Databases"
instance: ["*"]
counters:
  - name: "Transactions/sec"

Describe a specific use case for the enhancement or feature:

Current behaviour

  • All databases are discovered correctly.
  • The windows.perfmon.object field is always set to *:Databases
  • It does not show which SQL Server the database belongs to.

Expected behavior

  • Wildcards should be used only for discovery.
  • The windows.perfmon.object field should contain the real matched object name (for example sql_server1:Databases).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions