Microsoft .NET (deprecated)
Use this Splunk Observability Cloud integration for the .NET (dotnet) apps monitor. See benefits, install, configuration, and metrics
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
インテグレーションを設定すると、これらの機能にアクセスできるようになります:
-
メトリクスを表示します。独自のカスタムダッシュボードを作成することができ、ほとんどのモニターは組み込みのダッシュボードも提供しています。ダッシュボードの詳細については、「Splunk Observability Cloudでダッシュボードを表示する」を参照してください。
-
Infrastructure Monitoring に表示される環境内の物理サーバー、仮想マシン、AWS インスタンス、およびその他リソースのデータ駆動型の視覚化を表示します。ナビゲータの詳細については、「Splunk Infrastructure Monitoring でナビゲーターを使用する」を参照してください。
-
Metric Finder へアクセスし、モニターから送信されたメトリクスを検索します。詳細は、「メトリクス・ファインダーとメタデータ・カタログを検索する」を参照してください。
Installation
このインテグレーションを導入するには、以下の手順に従ってください:
-
Splunk Distribution of OpenTelemetry Collector をホストにデプロイします:
-
設定のセクションで説明するように、モニターを設定します。
-
Splunk Distribution of OpenTelemetry Collector を再起動します。
Configuration
Smart Agent モニターとCollector のインテグレーションを使用するには、以下の手順に従います:
-
Smart Agent レシーバーを設定ファイルに含めます。
-
レシーバーセクションおよびパイプラインセクションの両方で、Collector 構成にモニタータイプを追加します。
-
「Collector でSmart Agent モニターを使用する」を参照してください。
-
Smart Agent レシーバーの設定方法を参照してください。
-
一般的な構成オプションのリストについては、「モニターの共通設定」を参照してください。
-
Collector の詳細については、「はじめに: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 |
|---|---|---|---|
|
|
no |
| Number of seconds that wildcards in counter paths should be expanded and how often to refresh counters from configuration. (default: |
|
|
no |
| Print out the configurations that match available performance counters. This option is used for debugging. (default: |
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
__ ___ ___ _ ______ _____________ _____ ________ ___ ___ ___ ____ __ ___ ____ ____ __ ______ _____________ ______ ___ ___ ___ ____ __ ___ _________ _____
_________ __ ______ _____________ _____ _________
-
______ _ ____ __ ___ ______ _______ _______
-
_______ ______ ________
_________ __ ___________ _________ ___ ____ _____ _____
-
___ _ ________ ___ ___ _______ _______ _________ _______ __ ______ ________
-
____ ___ ______ ______________ ____ _____ _____ _______ __ ___________ ____ __________ _________ ___ ______ _________ __________ __ _____ ___ ____ _______