Removed tracking of raw SQL queries
This particular setup had 3 problems:
1. Storing SQL queries as tags is very inefficient as InfluxDB ends up
indexing every query (and they can get pretty large). Storing these
as values instead means we can't always display the SQL as easily.
2. We already instrument ActiveRecord query methods, thus we already
have timing information about database queries.
3. SQL obfuscation is difficult to get right and I'd rather not expose
sensitive data by accident.
Showing
lib/gitlab/metrics/obfuscated_sql.rb
deleted
100644 → 0
Please
register
or
sign in
to comment