| 1 | <!--startmeta |
| 2 | custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/windows.plugin/integrations/asp.net.md" |
| 3 | meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/windows.plugin/metadata.yaml" |
| 4 | sidebar_label: "ASP.NET" |
| 5 | learn_status: "Published" |
| 6 | learn_rel_path: "Collecting Metrics/Collectors/Web Servers and Proxies" |
| 7 | keywords: ['windows', 'ASP', 'webservice'] |
| 8 | message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE" |
| 9 | endmeta--> |
| 10 | |
| 11 | # ASP.NET |
| 12 | |
| 13 | |
| 14 | <img src="https://netdata.cloud/img/windows.svg" width="150"/> |
| 15 | |
| 16 | |
| 17 | Plugin: windows.plugin |
| 18 | Module: PerflibASP |
| 19 | |
| 20 | <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" /> |
| 21 | |
| 22 | ## Overview |
| 23 | |
| 24 | This collector monitors ASP.NET applications. |
| 25 | |
| 26 | |
| 27 | It queries for the 'ASP.NET' and 'ASP.NET Applications' objects from Perflib in order to gather the metrics. |
| 28 | |
| 29 | |
| 30 | This collector is only supported on the following platforms: |
| 31 | |
| 32 | - windows |
| 33 | |
| 34 | This collector only supports collecting metrics from a single instance of this integration. |
| 35 | |
| 36 | |
| 37 | ### Default Behavior |
| 38 | |
| 39 | #### Auto-Detection |
| 40 | |
| 41 | The collector automatically detects all of the metrics, no further configuration is required. |
| 42 | |
| 43 | |
| 44 | #### Limits |
| 45 | |
| 46 | The default configuration for this integration does not impose any limits on data collection. |
| 47 | |
| 48 | #### Performance Impact |
| 49 | |
| 50 | The default configuration for this integration is not expected to impose a significant performance impact on the system. |
| 51 | |
| 52 | ## Setup |
| 53 | |
| 54 | |
| 55 | ### Prerequisites |
| 56 | |
| 57 | No action required. |
| 58 | |
| 59 | ### Configuration |
| 60 | |
| 61 | #### Options |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | | Option | Description | Default | Required | |
| 68 | |:-----|:------------|:--------|:---------:| |
| 69 | | PerflibASP | An option to enable or disable the data collection. | yes | no | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | #### via File |
| 75 | |
| 76 | The configuration file name for this integration is `netdata.conf`. |
| 77 | Configuration for this specific integration is located in the `[plugin:windows]` section within that file. |
| 78 | |
| 79 | The file format is a modified INI syntax. The general structure is: |
| 80 | |
| 81 | ```ini |
| 82 | [section1] |
| 83 | option1 = some value |
| 84 | option2 = some other value |
| 85 | |
| 86 | [section2] |
| 87 | option3 = some third value |
| 88 | ``` |
| 89 | You can edit the configuration file using the [`edit-config`](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#edit-configuration-files) script from the |
| 90 | Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#locate-your-config-directory). |
| 91 | |
| 92 | ```bash |
| 93 | cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata |
| 94 | sudo ./edit-config netdata.conf |
| 95 | ``` |
| 96 | |
| 97 | ##### Examples |
| 98 | There are no configuration examples. |
| 99 | |
| 100 | |
| 101 | |
| 102 | ## Alerts |
| 103 | |
| 104 | There are no alerts configured by default for this integration. |
| 105 | |
| 106 | |
| 107 | ## Metrics |
| 108 | |
| 109 | Metrics grouped by *scope*. |
| 110 | |
| 111 | The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels. |
| 112 | |
| 113 | |
| 114 | |
| 115 | ### Per ASP.NET Global Data |
| 116 | |
| 117 | These metrics refer to ASP.NET global metrics. |
| 118 | |
| 119 | This scope has no labels. |
| 120 | |
| 121 | Metrics: |
| 122 | |
| 123 | | Metric | Dimensions | Unit | |
| 124 | |:------|:----------|:----| |
| 125 | | aspnet.application_restarts | restarts | restarts | |
| 126 | | aspnet.worker_process_restarts | restarts | restarts | |
| 127 | |
| 128 | ### Per ASP.NET Applications |
| 129 | |
| 130 | ASP.NET application performance counters |
| 131 | |
| 132 | Labels: |
| 133 | |
| 134 | | Label | Description | |
| 135 | |:-----------|:----------------| |
| 136 | | aspnet_app | The application name. | |
| 137 | |
| 138 | Metrics: |
| 139 | |
| 140 | | Metric | Dimensions | Unit | |
| 141 | |:------|:----------|:----| |
| 142 | | aspnet.anonymous_request | requests | requests | |
| 143 | | aspnet.compilation_totals | compilations | compilations | |
| 144 | | aspnet.errors_during_preprocessing | preprocessing | errors | |
| 145 | | aspnet.errors_during_compilation | compilation | errors | |
| 146 | | aspnet.errors_during_execution | execution | errors | |
| 147 | | aspnet.errors_during_unhandled_execution | unhandled | errors | |
| 148 | | aspnet.requests_byte_total | in, out | bytes | |
| 149 | | aspnet.requests_executing | executing | requests | |
| 150 | | aspnet.requests_failed | executing | requests | |
| 151 | | aspnet.requests_not_found | not found | requests | |
| 152 | | aspnet.requests_not_authorized | not_authorized | requests | |
| 153 | | aspnet.requests_in_application_queue | queue | requests | |
| 154 | | aspnet.requests_timeout | timeout | requests | |
| 155 | | aspnet.requests_succeeded | success | requests | |
| 156 | | aspnet.sessions_active | active | sessions | |
| 157 | | aspnet.sessions_abandoned | abandoned | sessions | |
| 158 | | aspnet.sessions_abandoned | abandoned | sessions | |
| 159 | | aspnet.sessions_timed_out | timed out | sessions | |
| 160 | | aspnet.transactions_aborted | aborted | transactions | |
| 161 | | aspnet.transactions_committed | committed | transactions | |
| 162 | | aspnet.transactions_pending | pending | transactions | |
| 163 | | aspnet.events_raised_per_sec | raised | events | |
| 164 | | aspnet.error_events_raised_per_sec | events | errors | |
| 165 | | aspnet.events_audit_success | events | errors | |
| 166 | | aspnet.events_audit_failure | audit | failures | |
| 167 | | aspnet.membership_auth_success | success | auth | |
| 168 | | aspnet.form_authentication_success | success | auth | |
| 169 | | aspnet.form_authentication_success | success | auth | |
| 170 | | aspnet.form_authentication_failure | failure | auth | |
| 171 | |
| 172 |