Git Product home page Git Product logo

Comments (8)

beorn7 avatar beorn7 commented on August 19, 2024 1

@haoranleo do you plan to work in this yourself? I think this would be a very welcome feature, but @roidelapluie has more context for sure.

from prometheus.

haoranleo avatar haoranleo commented on August 19, 2024

Hi @beorn7, yeah we can add the SigV4 support ourselves. Just wanted to seek opinions from upstream first and ensure there is no major concern of adding that support :D.

We are currently finalizing the discussion on exposing a native SigV4 enabled metrics endpoint, after it is finalized we can start working on the change.

from prometheus.

roidelapluie avatar roidelapluie commented on August 19, 2024

We chose not to implement this because users who only require http_sd shouldn't have to build the entire AWS dependencies. I'm curious if there are enough use cases to justify this approach, or if there's a way to enable AWS SigV4 at compile time specifically for http_sd and Alertmanager.

from prometheus.

beorn7 avatar beorn7 commented on August 19, 2024

With SigV4 supported by remote write, maybe we have already linked in most of the required dependencies?

from prometheus.

roidelapluie avatar roidelapluie commented on August 19, 2024

I personally have projects that are using only the discovery.

But I am fine either way, if there is an easy way to only have sigv4 with opt-in, let's do this. otherwise, let's bake it in...

from prometheus.

beorn7 avatar beorn7 commented on August 19, 2024

Inclusion/exclusion via build tags would be nice, I guess. (It could also be opt-out, so that users that care about binary size can exclude it, similar to what we do with SD mechanisms.)

from prometheus.

haoranleo avatar haoranleo commented on August 19, 2024

We chose not to implement this because users who only require http_sd shouldn't have to build the entire AWS dependencies.

If SigV4 support is added in the http_sd, user can still choose to opt out right? They can use other authentication methods same as today like basic_auth/oauth2/tls_config etc... Please correct me if I miss something

from prometheus.

beorn7 avatar beorn7 commented on August 19, 2024

I think @roidelapluie is talking about having all the library dependencies linked into the binary, even for those users that don't need SigV4 support.

from prometheus.

Related Issues (20)

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.