Install the package
Add the SDK package to your service.During private beta, your package name or package source may be different. Use the package name and feed URL provided during onboarding.
Configure the SDK
You can configure Foveus in three ways.Minimal setup
Use this for local testing or quick validation.Configuration-based setup
For most applications, configure Foveus fromappsettings.json, environment variables, or your secret manager.
Foveus section to your configuration.
Options-based setup
Use options when you want to configure Foveus directly in code.Add the middleware
For ASP.NET Core APIs, add the Foveus middleware after building the app.Place Foveus after middleware that establishes request context, authentication, or correlation IDs if your service depends on those values.
Choose a service name
Use a stable service name that identifies the logical service.Set the environment
UseEnvironment for the deployment environment.
Examples:
Set the mode
UseMode for the Foveus data mode.
| Mode | Use for |
|---|---|
test | Sandbox, development, QA, and onboarding |
live | Production telemetry |
test while validating your setup. Use live when your service is ready to send production telemetry.
Store your API key safely
Do not commit API keys to source control. For local development, use user secrets:- Azure App Configuration or Key Vault
- AWS Secrets Manager
- Google Secret Manager
- Kubernetes secrets
- Render environment variables
Verify installation
Start your service and call an endpoint.Troubleshooting
No executions appear
Check that:- your API key is valid
- your service can reach Foveus
ServiceNameis setModematches the dashboard mode you are viewing- your request reached the middleware
- your selected time range includes the request time
The service name looks wrong
If you see service names likeorders-api-production, update your configuration:
Context search does not find a value
Execution Context Search uses indexed execution context. It does not scan arbitrary raw request bodies. If you recently enabled context indexing, trigger a new request. Newly indexed context applies to new ingested executions.Next steps
- Send your first execution: Send your first execution
- Learn about executions: Executions
- Configure the SDK: SDK configuration
- Review data safety: Data safety and retention