Skip to content

Commit 9677dff

Browse files
authored
Update README.md
1 parent 98f8bdd commit 9677dff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ Record high level profiling data in ASP.NET Core applications at runtime. Profil
88

99
To use the recorder, register the middleware then request a `BlackBox` recorder at runtime to instrument different subsystems. The blackbox will store a configurable number of request profiles (default is 16).
1010

11-
###
12-
13-
Register types
11+
### Register types
1412

1513
```cs
1614
// use default profile naming (root stack frame will have a name like 'GET relative/url?queryparams')
@@ -82,7 +80,7 @@ builder.Services
8280
});
8381
```
8482

85-
### Profiling controller
83+
### Add a profiling controller
8684

8785
Add a controller to integrate with speedscope easily at runtime by sending HTTP GET to https://localhost/profile. This controller will first redirect the caller to speedscope with a parameterized profile URL. When speedscope requests the profile data, detect it via the origin header and return the profile.
8886

0 commit comments

Comments
 (0)