Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] SQS metrics not picked up by Prometheus #687

Open
1 task done
majandres opened this issue Oct 14, 2022 · 0 comments
Open
1 task done

[BUG] SQS metrics not picked up by Prometheus #687

majandres opened this issue Oct 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@majandres
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello,

First I want to say that I appreciate the work that is going into this exporter! Fantastic job.

Now, I'm running into a bit of an issue with SQS metrics. I'm Running with yace v0.40. and i've configured a static configuration:

apiVersion: v1alpha1
sts-endpoint: us-east-1
static:
  - namespace: AWS/SQS
    name: my_queue_name.fifo
    regions:
      - us-east-1
    dimensions:
      - name: QueueName
        value: my_queue_name.fifo
    metrics:
      - name: NumberOfMessagesSent
        statistics:
          - Average
          - Sum
        period: 60
        length: 60
        addCloudwatchTimestamp: true
        nilToZero: true

And the exporter displays the metrics, however prometheus (v2.39) doesn't seem to ingest. I have similar configurations for RDS metrics running which get ingested just fine... but for whatever reason SQS doesn't seem to want to work.

Prometheus config is pretty basic also:

- job_name: yace-exporter-prod
  honor_timestamps: true
  scrape_interval: 45s
  metrics_path: /metrics
  static_configs:
    - targets: [ yace:5000 ]
  relabel_configs:
    - source_labels: [job]
      target_label: instance

Expected Behavior

see my config above

Steps To Reproduce

this is the output of the exporter:

Anything else?

No response

@majandres majandres added the bug Something isn't working label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant