Docs » Available host and application monitors » Configure application receivers for languages » ASP.NET

ASP.NET 🔗

Description 🔗

The Splunk Distribution of OpenTelemetry Collector provides this integration as the aspdotnet monitor by using the SignalFx Smart Agent Receiver.

Use this integration to retrieve metrics for requests, errors, sessions, and worker processes from ASP.NET applications.

This monitor is only available on Windows.

Benefits 🔗

After you configure the integration, you can access these features:

Windows Performance Counters 🔗

Windows Performance Counters are the source of retrieved metrics. Most of the performance counters in this monitor are gauges that represent rates per second and percentages.

This monitor reports the instantaneous values of these Windows Performance Counters. Between collection intervals, spikes might occur in the Performance Counters. To mitigate the effect of these spikes, decrease the reporting interval on the monitor so that it collects more frequently.

Installation 🔗

Follow these steps to deploy this integration:

  1. Deploy the Splunk Distribution of OpenTelemetry Collector to your host:

  2. Configure the monitor, as described in the Configuration section.

  3. Restart the Splunk Distribution of OpenTelemetry Collector.

Configuration 🔗

This monitor type is available in the Smart Agent Receiver, which is part of the Splunk Distribution of OpenTelemetry Collector. You can use existing Smart Agent monitors as OpenTelemetry Collector metric receivers with the Smart Agent Receiver.

This monitor type requires a properly configured environment on your system in which you’ve installed a functional Smart Agent release bundle. The Collector provides this bundle in the installation paths for x86_64/amd64.

To activate this monitor type in the Collector, add the following lines to your configuration (YAML) file:

Configuration example 🔗

To activate this monitor in the Splunk Distribution of OpenTelemetry Collector, add the following to your agent configuration:

receivers:
  smartagent/aspdotnet:
    type: aspdotnet
    ...  # Additional config

To complete the integration, include the monitor in a metrics pipeline. Add the monitor item to the service/pipelines/metrics/receivers section of your configuration file. For example:

service:
  pipelines:
    metrics:
      receivers: [smartagent/aspdotnet]

Configuration settings 🔗

The following table shows the configuration options for this monitor:

Option

Required

Type

Description

counterRefreshInterval

no

int64

This integer is the number of seconds that wildcards in counter paths should be expanded and how often to refresh counters from configuration. The default is 60s.

printValid

no

bool

Use this flag to print out the configurations that match available performance counters. Use the flag for debugging. The default is false.

Metrics 🔗

The following metrics are available for this integration:

Get help 🔗

If you are not able to see your data in Splunk Observability Cloud, try these tips:

To learn about even more support options, see Splunk Customer Success.