Giter VIP home page Giter VIP logo

laravel-horizon-prometheus-exporter's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

laravel-horizon-prometheus-exporter's Issues

'Enabled' option of the config file is not evaluated

Hi,
first of all thanks for sharing this package!

While testing it with a local project I noticed that the enabled option is only declared in the config file but changing it did not have any effect (the route was always reachable).

A quick search trough the code for any use of the option gave no results. Is the enable/disable feature still missing in this package or did I oversee something?

PHP 8 Support

Hi,

Not sure what it should take yet but any plan to upgrade to PHP8.0?

thanks

v2.0.0

  • The namespace should be optional, there should be a label (maybe with the application name and the env)?
  • Package name should reflect namespace (currently package name is lkaemmerling, the namespace is lkdevelopment)
  • Rename Exporter interface metrics to defineMetrics or only define?

Getting Target class [] does not exist.

Getting this error:
Screenshot 2024-06-20 at 05 36 00

Environment:

Php Version
8.2.19

Laravel Version
10.48.12

Laravel Locale
en

Laravel Config Cached
false
App Debug
true
App Env
local

Package version: 1.8.0

Authentication middleware on the "/metrics" API

Hey @LKaemmerling, hope you're doing fine!

We're trying to use this package and one issue we have is that this "/metrics" API requires authentication by default, what I was thinking of is that because you're using the "api.php" file for defining the route and Laravel by default would apply "auth:api" on all of these routes defined in the "api.php".

As a workaround, what I need to do is the override the API route and manually define it again in one of my route files like the routes/web.php, but then one issue with that is for example some stuff that you're checking in the library like the 'horizon-exporter.enabled' should be manually checked again by me if I define this API and it does not sound very ideal to me.

Therefore, I was wondering if my theory is wrong and if you support a way that makes this API completely public without requiring the authentication.

PHP 8.0

Requirement

  • support php 8.0

Could not find a matching version of package

  Could not find a matching version of package lkdevelopment/laravel-horizon-prometheus-exporter. Check the package spelling, your version constraint and th  
  at the package is available in a stability which matches your minimum-stability (dev). ```

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.