Skip to content

Drop prometheus stat reporter from QP #11126

Closed

Description

@julz

/area autoscale

Describe the feature

tldr we should delete https://github.com/knative/serving/blob/main/pkg/queue/prometheus_stats_reporter.go since we've now been scraping via protobuf for several releases.

I think noone should be directly scraping this endpoint since they should instead be using the user metrics endpoint so this shouldn't make anyone unhappy, but I think I remember @vagababov saying he sometimes used this endpoint to debug autoscaler so ping @vagababov.

/assign @julz

Activity

  1. added
    kind/feature
    on Apr 7, 2021
  2. markusthoemmes commented on Apr 7, 2021

    @markusthoemmes
    Contributor

    Should we make the metrics available via user-metrics in the same go? They are quite useful to plot I believe. Though it might make more sense to surface them via the autoscaler? Also pinging @skonto for input regarding dashboard breakage.

  3. julz commented on Apr 7, 2021

    @julz
    ContributorAuthor

    ah, if some are not already available and are useful we should definitely do that (thats what I was pinging @vagababov to confirm)

  4. skonto commented on Apr 7, 2021

    @skonto
    Contributor

    @julz these metrics are scraped from many users (I know customers do) as they provide a number of metrics about queue_proxy.
    If we remove this there will be no metrics coming from queue proxy (what is the user metrics endpoint you are referring to)?
    We could move them to the autoscaler but not all users may have access to that pod or the metrics that come from there especially if the admin/developer persona are not the same person.

  5. markusthoemmes commented on Apr 7, 2021

    @markusthoemmes
    Contributor

    There's a "normal" Prometheus server launched as part of the generic metric instrumentation machinery. It's listening on 9091. This reporter is specific to the autoscaler and listens on 9090. The task is to move all useful metrics to the on on 9091.

  6. skonto commented on Apr 7, 2021

    @skonto
    Contributor

    @markusthoemmes that makes sense the 9090 was meant for the autoscaler anyway, but it has some useful information.
    9091 also has some good metrics but we could extend them with details about the autoscaling stuff since users will most likely want to tune the scaling config wrt their service.

  7. github-actions commented on Jul 7, 2021

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  8. added
    lifecycle/stale
    on Jul 7, 2021
  9. julz commented on Jul 8, 2021

    @julz
    ContributorAuthor

    /remove-lifecycle stale
    /lifecycle frozen

    We should eventually get round to doing this

  10. added
    lifecycle/frozen
    and removed
    lifecycle/stale
    on Jul 8, 2021
  11. dprotaso commented on Nov 24, 2021

    @dprotaso
    Member

    /triage accepted

  12. added
    triage/accepted
    on Nov 24, 2021
  13. added this to the Icebox milestone on May 16, 2022
  14. nader-ziada commented on May 16, 2022

    @nader-ziada
    Member

    /assign

  15. modified the milestones: Icebox, v1.6.0 on May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/featurelifecycle/frozentriage/accepted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions