Skip to content
Discussion options

You must be logged in to vote

I'd recommend checking the following:

  • Since you're on AWS, check the security groups for the open port 5432. I can't exclude this, so if you've already checked and you're sure you can connect to the instance with any other app, then feel free to ignore;
  • if the password contains any special characters, we need to encode them (please check https://github.com/burningalchemist/sql_exporter?tab=readme-ov-file#database-urls-url-format-dsns for more details);
  • check the scrape_interval on the sql_exporter side, but also on the alloy (or any other collector) side. min_interval is purposed for caching (to avoid hitting DBs too much);
  • The connection string expansion from the config might not work c…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@zbyte64
Comment options

@burningalchemist
Comment options

@zbyte64
Comment options

@burningalchemist
Comment options

Answer selected by burningalchemist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants