Microsoft .NET (deprecated)

Use this Splunk Observability Cloud integration for the .NET (dotnet) apps monitor. See benefits, install, configuration, and metrics

CAUTION: This integration is deprecated and reached End of Support in February 2025. It was removed from the Splunk Distribution of the OpenTelemetry Collector starting from version v0.118.0.

To forward data to Splunk Observability Cloud, use the Splunk Distribution of OpenTelemetry .NET. To learn more refer to Instrument your .NET application for Splunk Observability Cloud (OpenTelemetry).

The Splunk Distribution of the OpenTelemetry Collector uses the Smart Agent receiver with the dotnet monitor type to report metrics for .NET applications.

This integration is only available on Windows.

This integration reports the instantaneous values for Windows Performance Counters. Most of these performance counters are gauges that represent rates per second and percentages. This means that in a collection interval, spikes might occur on the Performance Counters. The best way to mitigate this limitation is to increase the reporting interval on this monitor to collect more frequently.

The following is a list of the most critical .NET performance counters:

  • Exceptions

  • Logical threads

  • Physical threads

  • Heap bytes

  • Time in GC

  • Committed bytes

  • Pinned objects

Benefits

インテグレーションを設定すると、これらの機能にアクセスできるようになります:

Installation

このインテグレーションを導入するには、以下の手順に従ってください:

  1. Splunk Distribution of OpenTelemetry Collector をホストにデプロイします:

  2. 設定のセクションで説明するように、モニターを設定します。

  3. Splunk Distribution of OpenTelemetry Collector を再起動します。

Configuration

Smart Agent モニターとCollector のインテグレーションを使用するには、以下の手順に従います:

  1. Smart Agent レシーバーを設定ファイルに含めます。

  2. レシーバーセクションおよびパイプラインセクションの両方で、Collector 構成にモニタータイプを追加します。

Example

To activate this integration, add the following to your Collector configuration:

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

Next, add the monitor to the service.pipelines.metrics.receivers section of your configuration file:

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

Configuration settings

The following table shows the configuration options for this integration:

Option

Required

Type

Description

counterRefreshInterval

no

int64

Number of seconds that wildcards in counter paths should be

expanded and how often to refresh counters from configuration. (default: 60s)

printValid

no

bool

Print out the configurations that match available performance

counters. This option is used for debugging. (default: false)

Metrics

This integration emits all metrics by default, but they are categorized as custom metrics. See the notes for more details.

https://raw.githubusercontent.com/signalfx/splunk-otel-collector/main/internal/signalfx-agent/pkg/monitors/dotnet/metadata.yaml

Notes

  • Splunk Observability Cloud で利用可能なメトリクスタイプの詳細は、「メトリクスタイプ」を参照してください。

  • ホストベースのサブスクリプションプランでは、デフォルトのメトリクスは、ホスト、コンテナ、バンドルメトリクスなど、Splunk Observability Cloud のホストベースのサブスクリプションに含まれるメトリクスです。カスタムメトリクスはデフォルトでは提供されていないため、料金が発生する場合があります。詳細については、「メトリクスカテゴリ」を参照してください。

  • MTSベースのサブスクリプションプランでは、すべてのメトリクスがカスタムです。

  • メトリクスを追加するには、「その他のメトリクスの追加」で extraMetrics の設定方法を参照してください。

Troubleshooting

__ ___ ___ _ ______ _____________ _____ ________ ___ ___ ___ ____ __ ___ ____ ____ __ ______ _____________ ______ ___ ___ ___ ____ __ ___ _________ _____

_________ __ ______ _____________ _____ _________

_________ __ ___________ _________ ___ ____ _____ _____

  • ___ _ ________ ___ ___ _______ _______ _________ _______ __ ______ ________

  • ____ ___ ______ ______________ ____ _____ _____ _______ __ ___________ ____ __________ _________ ___ ______ _________ __________ __ _____ ___ ____ _______