- Copy your test API key from onboarding
- Install the Foveus .NET SDK
- Configure your service
- Trigger a request or worker log
- View telemetry in Foveus
Before you start
You need:- A Foveus account
- Access to your Foveus onboarding screen
- A .NET API or worker service
- Access to your app configuration
fov_test_ key sends telemetry to Test mode and a fov_live_ key sends it to Live mode. There is no separate mode setting.
1. Copy your test API key
After signing in, Foveus guides you through onboarding. The first onboarding step shows your test API key. Your key should look similar to:During private beta, test keys are created automatically during onboarding. Live keys are not self-serve: the Foveus team issues them when you are ready to send production telemetry.
2. Install the .NET SDK
Install the Foveus .NET SDK in your service.If your package name or package source is different during private beta, use the values shown in your onboarding screen or provided by the Foveus team.
3. Configure Foveus
Choose the setup style that matches your service.Minimal setup
Use this when you want to connect quickly with your test API key.
Because the key starts with
fov_test_, telemetry goes to Test mode.
Configure from appsettings.json
For most applications, configure Foveus fromappsettings.json, environment variables, or your secret manager.
Foveus section to your configuration file:
Environment is a free-text label for the deployment, such as staging or production. When you do not set it, it is test or live, taken from the key. It is not the ASP.NET Core environment.
If the API key is missing, empty or malformed, Foveus disables itself and writes
Foveus is disabled: <reason> to the console and to your application’s log. Your application keeps running without Foveus telemetry. Requires Foveus.SDK 1.1.0-beta.18 or later; earlier versions throw at startup.Production configuration
For production telemetry, use a live key. Afov_live_ key sends telemetry to Live mode.
ASP.NET Core APIs
For ASP.NET Core APIs, add the Foveus middleware.UseFoveus() is available on .NET 6 and later.
A typical setup looks like this:
Worker services
For.NET Worker Service or BackgroundService apps, use AddFoveus(...), but do not call app.UseFoveus().
Workers do not have an ASP.NET HTTP middleware pipeline.
BeginExecution to record it as one execution. See Worker services.
4. Store your API key safely
Use environment variables or your platform’s secret manager. For local development, you can use .NET user secrets:5. Trigger telemetry
For an ASP.NET Core API, start your service and call one of your endpoints.- request context
- response context
- execution timing
- logs
- outcome and failure evidence
6. View your first execution
Open the Foveus dashboard and go to Executions. Search by service:ServiceName, search using your project assembly name.
Open an execution to inspect:
- request and response context
- execution timeline
- logs
- duration
- outcome
- failure details, if available
For worker services, logs and outbound calls are grouped into an execution only inside a
BeginExecution scope. Without one, logs have no execution and each outbound call is recorded as its own execution.7. Search by execution context
If your service captures business context, you can search for executions using indexed context fields. For example, if your request or response contains a customer ID:ContextSamplingRate is 0.01), and response bodies are not captured (CaptureResponseBodies is false). See FoveusOptions to change this.
You can also search nested response fields with dotted paths.
Test and Live mode
Foveus has two modes:
The API key decides the mode: a
fov_test_ key sends to Test mode and a fov_live_ key sends to Live mode. Use the Test/Live toggle in the dashboard to view each.
Use Live mode only when your service is ready to send production telemetry with a live key.
Service names and environments
Foveus works with the service names your team already uses. If you are starting fresh, a stable service name plus an explicit environment can make analysis easier.What to do next
- Learn how executions work: Executions
- Learn how issues are grouped: Issues
- Search by business context: Execution Context Search
- Configure the SDK: SDK configuration
- Review data safety and retention: Data safety and retention