Open pradeepcdlm opened 6 years ago
Appears to be two locations this is done: https://github.com/chop-dbhi/prometheus-sql/search?q=ToLower&unscoped_q=ToLower. The latter is a check to determine if its a facet or not, the former seems to be the root issue.
Thanks, Bruth for this update,
Shall I work on this repo to make configuration settings in the YML file to check to see whether a case conversion can be implemented by conditionally applying the method ToLower()? And also if we get back to you with this change, can you accept our pull request to integrate it into your repo.
Regards,
Yes please do. I think a config flag for this major cycle is the safest to not break anything. For your use case you can "turn it on".
I will certainly review the PR and provide feedback with every intention to merge it.
I've added this feature in pull request #66
Thank you for this work!
Currently, Prometheus-SQL returns all metrics label values in lower case only. It'd be great if Prometheus-SQL returns the metrics value without converting to lower case.
Regards,