From fd9fa5895683bbc57a2cb3d26cdf1077c1320184 Mon Sep 17 00:00:00 2001 From: Tim Hess Date: Wed, 5 Feb 2025 08:18:17 -0600 Subject: [PATCH] remove links to removed metrics page, use var --- api/v4/management/prometheus.md | 2 +- api/v4/management/using-endpoints.md | 1 - api/v4/toc.yml | 2 -- api/v4/tracing/index.md | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/api/v4/management/prometheus.md b/api/v4/management/prometheus.md index 4af4514f..09d32790 100644 --- a/api/v4/management/prometheus.md +++ b/api/v4/management/prometheus.md @@ -58,7 +58,7 @@ builder.Services.AddPrometheusActuator(true, configurePrometheusPipeline => In order for the Prometheus endpoint to return metrics, the application and relevant libraries need to be instrumented. This page will cover the basics for elements that previous versions of Steeltoe configured automatically. -You should refer to the [OpenTelemetry documentation](https://opentelemetry.io/docs/languages/net/instrumentation/) for more detailed information. +Please refer to the [OpenTelemetry documentation](https://opentelemetry.io/docs/languages/net/instrumentation/) for more detailed information. ### ASP.NET Core diff --git a/api/v4/management/using-endpoints.md b/api/v4/management/using-endpoints.md index 0c7d18a7..577c0e1b 100644 --- a/api/v4/management/using-endpoints.md +++ b/api/v4/management/using-endpoints.md @@ -25,7 +25,6 @@ The following table describes the available Steeltoe management endpoints that c | [info](./info.md) | Customizable endpoint that gathers arbitrary application information (such as app version). | | [loggers](./loggers.md) | Gathers existing loggers and allows changing their minimum levels at runtime. | | [mappings](./mappings.md) | Reports the configured ASP.NET routes and route templates. | -| [metrics](./metrics.md) | Reports the collected metrics for the application. | | [prometheus](./prometheus.md) | Exposes metrics collected via built-in instrumentation of various aspects of the application in the Prometheus format. | | [refresh](./refresh.md) | Triggers a reload of the application configuration. | | [services](./services.md) | Lists the contents of the .NET dependency injection service container. | diff --git a/api/v4/toc.yml b/api/v4/toc.yml index 9f988562..55eaafe1 100644 --- a/api/v4/toc.yml +++ b/api/v4/toc.yml @@ -74,8 +74,6 @@ name: Loggers - topicHref: management/mappings.md name: Route Mappings - - topicHref: management/metrics.md - name: Metrics - topicHref: management/prometheus.md name: Prometheus - topicHref: management/refresh.md diff --git a/api/v4/tracing/index.md b/api/v4/tracing/index.md index 992bddea..09371845 100644 --- a/api/v4/tracing/index.md +++ b/api/v4/tracing/index.md @@ -46,7 +46,7 @@ The only remaining step is to register the processor: ```csharp using Steeltoe.Management.Tracing; -WebApplicationBuilder builder = WebApplication.CreateBuilder(args); +var builder = WebApplication.CreateBuilder(args); builder.Services.AddTracingLogProcessor(); ```