Server Telemetry
Install the TestVibe telemetry agent in any .NET (or Node.js) app to see server-side CPU, memory, sessions, and custom metrics next to your results.
What you'll need
.NET
dotnet add package TestVibe.Telemetry// Program.cs
using TestVibe;
var builder = WebApplication.CreateBuilder(args);
// ... services ...
var app = builder.Build();
Telemetry.Register(
builder.Configuration["TestVibe:Server"] ?? "https://app.testvibe.com",
builder.Configuration["TestVibe:ApiKey"], // tvb_… from Settings → CLI & API keys
new TelemetryOptions
{
// Optional: report a live count (e.g. active SignalR connections or signed-in users).
SessionCount = () => MyConnectionCounter.Current,
});
app.Run();// Program.cs (Worker Service, or any Generic Host)
using TestVibe;
var host = Host.CreateApplicationBuilder(args).Build();
Telemetry.Register("https://app.testvibe.com", Environment.GetEnvironmentVariable("TESTVIBE_API_KEY"));
host.Run();Custom metrics, info & errors
Node.js
Reading server metrics
Related help
Last updated
Was this helpful?
