Soenneker.Grafana.HttpClients 11.0.194

Prefix Reserved
dotnet add package Soenneker.Grafana.HttpClients --version 11.0.194
                    
NuGet\Install-Package Soenneker.Grafana.HttpClients -Version 11.0.194
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Grafana.HttpClients" Version="11.0.194" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Grafana.HttpClients" Version="11.0.194" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Grafana.HttpClients" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Grafana.HttpClients --version 11.0.194
                    
#r "nuget: Soenneker.Grafana.HttpClients, 11.0.194"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Grafana.HttpClients@11.0.194
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Grafana.HttpClients&version=11.0.194
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Grafana.HttpClients&version=11.0.194
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Grafana.HttpClients

Provide a cached, authenticated HttpClient for the generated Grafana OpenAPI client.

Installation

dotnet add package Soenneker.Grafana.HttpClients

Configuration

{
  "Grafana": {
    "ApiKey": "grafana-service-account-token",
    "ClientBaseUrl": "https://grafana.example.com/api"
  }
}

ClientBaseUrl is required and must be the absolute URL of the Grafana HTTP API, including /api. Requests use Authorization: Bearer <token> by default.

To use another header format, set AuthHeaderName and AuthHeaderValueTemplate; {token} is replaced with ApiKey.

Registration and usage

services.AddGrafanaOpenApiHttpClientAsSingleton();

HttpClient client = await grafanaHttpClient.Get(cancellationToken);

Get returns the same client for the lifetime of that provider instance. AddGrafanaOpenApiHttpClientAsScoped() creates one provider-owned client per scope. Disposing the provider removes and disposes only the client it owns.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Grafana.HttpClients:

Package Downloads
Soenneker.Grafana.OpenApiClientUtil

Provides a cached Grafana OpenAPI client backed by an authenticated HTTP provider

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.194 62 12/3/2026
11.0.193 60 12/3/2026
11.0.192 66 12/3/2026
11.0.191 61 12/3/2026
11.0.190 61 12/3/2026
11.0.189 63 12/2/2026
11.0.188 74 12/2/2026
11.0.187 69 12/2/2026
11.0.186 67 12/2/2026
11.0.185 56 12/2/2026
11.0.184 83 12/2/2026
11.0.183 101 12/2/2026
11.0.182 90 12/2/2026
11.0.181 92 12/1/2026
11.0.180 98 12/1/2026
11.0.179 99 12/1/2026
11.0.178 95 12/1/2026
11.0.177 99 12/1/2026
11.0.176 121 11/30/2026
11.0.175 122 11/30/2026
Loading failed

Updated Multiple NuGet packages