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

Metrics regarding to Sendgrid are not showing #32

Open
Rosariobosco opened this issue Aug 2, 2023 · 4 comments
Open

Metrics regarding to Sendgrid are not showing #32

Rosariobosco opened this issue Aug 2, 2023 · 4 comments

Comments

@Rosariobosco
Copy link

Hi team,

I have deployed sendgrid-stat-exported with my Dockerfile, not with docker compose. While I am running the ipaddress:9154/metrics, I can see only metrics related to the machine like memory, virtual memory, garbage collection, etc, and not related to the Sendgrid account like bounce, processed, spam, etc.

@ibrahimejaz
Copy link

Is anyone available to check this issue?

@ivaanko
Copy link

ivaanko commented Aug 11, 2023

Hello there!

I had a similar problem before because the API key I generated for the exporter didn't have enough permissions to read Stats.

Hope this will help,
Ivan

@ibrahimejaz
Copy link

@ivaanko thanks much for replying we've given almost all access to the API key we've created.. wondering if you could help with showing some permissions, maybethat would help us. Thanks.

@ivaanko
Copy link

ivaanko commented Aug 11, 2023

Hey @ibrahimejaz I actually created a restricted key and only gave it readonly permissions on Stats, see screenshot below
image
Also double check that you pass the key correctly via cmd line or env var (the latter isn't mentioned in README.md but works as well - I grabbed it from .env.example).
Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants