Skip to content

gcp-pubsub throwing "could not find stackdriver metric" #5429

@ddlenz

Description

@ddlenz

Report

After updating to 2.13.0, gcp_pub_sub_scaler repeatedly throws "error getting metric" and scale_handler throws "error getting scale decision" with "could not find stackdriver metric with query fetch pubsub_subscription" with unacked messages and failure to scale.

Expected Behavior

keda scales application from zero

Actual Behavior

keda fails to scale application from zero

Steps to Reproduce the Problem

  1. create gcp-pubsub scaler
  2. publish a message to trigger the scaler
  3. check unacked messages and logs

Logs from KEDA operator

No response

KEDA Version

2.13.0

Kubernetes Version

Other

Platform

Google Cloud

Scaler Details

gcp pubsub

Anything else?

kubernetes version 1.28.3-gke.1203001

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready To Ship

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions