Skip to content

Conversation

@chaudum
Copy link
Owner

@chaudum chaudum commented Jul 30, 2023

The exporter can expose Prometheus metrics from SQL statements executed against CrateDB.

The default collector config exposes metrics from the sys.health and sys.shards tables.

The SQL exporter is enabled by default and listens on port 8181.


Update: I think it would make more sense to run the SQL exporter as separate Deployment. The sidecar approach has the benefit of being able to use the crate user to connect to CrateDB. However, that means that all metrics are also exposed n times, where n is the number of CrateDB nodes. This is not desired.

Running as a separate Deployment requires to bootstrap a dedicated CrateDB user with necessary permissions.

The exporter can expose Prometheus metrics from SQL statements executed
against CrateDB.

The default collector config exposes metrics from the sys.health and
sys.shards tables.

The SQL exporter is enabled by default and listens on port 8181.

Signed-off-by: Christian Haudum <[email protected]>
@chaudum chaudum marked this pull request as ready for review July 30, 2023 20:49
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

Successfully merging this pull request may close these issues.

2 participants