You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,19 @@
1
1
# Perfon.Net
2
-
Performance monitoring .Net framework for Web Api applications with no using windows performance counters.
3
-
Built-in REST API and UI dashboard.
2
+
Perfon.Net is a performance monitoring .Net framework for web applications without using windows performance counters.
3
+
4
+
It is designed mainly for use in WebApi and MVC projects, placed on shared hosting plans, when you have no access to IIS or OS and work without access to IIS or OS, or have non-privileged rights.
Core library, that monitors performance metrics of your application.
9
12
It does not uses windows perfomance counters, so it could used with non-privileged rights.
10
-
It has three Storage Drivers, allowing to save counters data to CSV file, in embedded LightDB database (www.litedb.org, Analog of SQLite)
11
-
or in in-memory cache.
12
-
You could implement simple storage interface and register it for storing data in your own way.
13
-
For example, it could be used on the shared hosting plans, when you have no access to IIS or OS.
13
+
It has three built-in storage drivers, allowing to save counters data to CSV file, in embedded LightDB database (www.litedb.org, SQLite analog) or to keep it in memory cache.
14
+
You could develop own storage driver implementing simple interface.
15
+
Custom counters could be impelemented easily deriving from Peron.Net base performance counters.
16
+
Threshold notifications could be set on counters.
14
17
A list of implemented performance counters:
15
18
* Number of requests per second
16
19
* Number of exceptions per second
@@ -29,8 +32,11 @@ Todo: add sample for it.
29
32
30
33
### Perfon.WebApi
31
34
A wrapper for painless use Perfon with Web Api 2 projects.
32
-
It provides Web Api for getting perf. counters through Web by /perfcounters and /perfcounters?name={perfcounterName}
33
-
Also it provides /perfcountersUI API, which return a html page with counters visualiation dashboard.
35
+
It provides Web Api for getting performance counters and built-in dashboard:
36
+
get counters list: api/perfcounters
37
+
get values for selected counter: api/perfcounters?name={name}
38
+
html page dashboard iwth visualization of counters: api/perfcountersui
39
+
html div: api/perfcountersuipanel
34
40
How to use:
35
41
1. Add a reference to Perfon.WebApi.
36
42
2. Use it after Web Api application configuration code:
@@ -57,14 +63,14 @@ Features:
57
63
* Register ThresholdMaxNotification on any Performance Counter to get notification event about threshold violations
58
64
* PerfMonitor.Storage.QueryCounterValues(name) and GetCountersList() for get counter track records.
59
65
66
+
67
+
60
68
### TestServer
61
69
Example of using Perfon.WebApi. One could run and monitor with Perfon using JMeterTests stress tests.
62
70
63
71
---
64
72
65
73
### TODO:
66
-
* Improve Demo site
67
-
* Improve dashboard
68
74
* Add description of options and conventions
69
75
* Implement PostgreSQL storage for performance counters data.
70
76
* Perfon.WebMVC - a wrapper for painless use Perfon with Asp.Net MVC projects.
0 commit comments