Custom Metric from dotnet agent


Is it possible to send custom metric data from dotnet APM plugin? There are similar questions but for different technologies and I cannot find definite answer for dotnet.

I would like to be sending for example a numeric values which specifies number of files processed.

Elasticstack 7.11.1
APM dotnet agent 1.7.1

Hi @kbalys,

for .NET we currently don't have a public API to send metrics, but we plan to add something in the future. Here is the GitHub issue about it.

One thing that may help is that we have a public API to add labels (which can be a number as well) for spans and transactions. Of course it's not a replacement or an alternative for a metrics API, so I'm just pointing this out since it may help.