Coder Social home page Coder Social logo

prom-examples's People

Contributors

phnx47 avatar randomchance avatar renovate-bot avatar renovate[bot] avatar sanych-sun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

prom-examples's Issues

How to use the PrometheusRequestDuration with an external metric server?

How to use the PrometheusRequestDuration with an external metric server?
The following code, as expected, won't work because it tries to create its own Prometheus server. So, there is no way to use an external url as MapPath

app.UsePrometheusServer(q =>
{
  q.UseDefaultCollectors = false;
  q.MapPath = Configuration.GetValue<string>("METRICS_SERVER_URL");
  q.Port = Configuration.GetValue<int>("METRICS_SERVER_PORT");
});```

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/build.yml
  • actions/checkout v4
  • actions/setup-dotnet v4
  • ubuntu 22.04
nuget
src/AspNetCore_6.0/AspNetCore_6.0.csproj
  • Prometheus.Client.DependencyInjection 1.3.0
  • Prometheus.Client.AspNetCore 5.0.0
  • Prometheus.Client 5.2.0
src/ConsoleMetricServer_6.0/ConsoleMetricServer_6.0.csproj
  • Prometheus.Client.MetricServer 6.0.0
src/CoreWebWithoutExtensions_3.1/CoreWebWithoutExtensions_3.1.csproj
  • Prometheus.Client.DependencyInjection 1.3.0
  • Prometheus.Client 5.2.0
src/HealthChecks_6.0/HealthChecks_6.0.csproj
  • Prometheus.Client.HealthChecks 1.1.1
  • Prometheus.Client.AspNetCore 5.0.0
  • Prometheus.Client 5.2.0
  • AspNetCore.HealthChecks.Uris 6.0.3
src/HostedServiceMetricPusher_6.0/HostedServiceMetricPusher_6.0.csproj
  • Microsoft.Extensions.Hosting 7.0.1
  • Prometheus.Client.MetricPusher.HostedService 0.2.0
  • Prometheus.Client.DependencyInjection 1.3.0
  • Prometheus.Client 5.2.0
src/WebHttpRequestDurations_3.1/WebHttpRequestDurations_3.1.csproj
  • Prometheus.Client.HttpRequestDurations 3.6.0
  • Prometheus.Client.DependencyInjection 1.3.0
  • Prometheus.Client.AspNetCore 5.0.0
  • Prometheus.Client 5.2.0
src/WebMetricPusher_3.1/WebMetricPusher_3.1.csproj
  • Prometheus.Client.DependencyInjection 1.3.0
  • Prometheus.Client.MetricPusher 3.1.0
  • Prometheus.Client.HttpRequestDurations 3.6.0
  • Prometheus.Client 5.2.0
src/WorkerMetricServer_6.0/WorkerMetricServer_6.0.csproj
  • Prometheus.Client.MetricServer 6.0.0
  • Prometheus.Client.DependencyInjection 1.3.0
  • Microsoft.Extensions.Hosting 6.0.1

  • Check this box to trigger a request for Renovate to run again on this repository

Double services.AddMetricFactory() call

There is a double call of .AddMetricFactory() method in the WebHttpRequestDurations_3.1 exmample project.

Is it a mistake or intentional behavior?

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMetricFactory();
            services.AddControllers();
            services.AddMetricFactory();
        }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.