Skip to content
Discussion options

You must be logged in to vote

For anyone else that might be interested we made this work by restricting the access to the internal database source to a specific user group. That way the sensitive data is only exposed to specific users.
Here are a few of the queries that were useful for monitoring if you need a sense of the internal schema:

Usage:

  SELECT
      TO_CHAR(e.created_at, 'YYYY-MM') AS month,
      COUNT(CASE WHEN e.object_type = 'dashboard' AND e.action = 'view' THEN 1 END) AS dashboard_views,
      COUNT(CASE WHEN e.object_type = 'query' AND e.action = 'execute' THEN 1 END) AS query_executions,
      COUNT(CASE WHEN e.object_type = 'query' AND e.action IN ('view', 'view_source') THEN 1 END) AS query_views…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Auric-Manteo
Comment options

@Auric-Manteo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Auric-Manteo
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