refactor: Replace QueryResult and Error type with internal types
The current implementation uses prometheus-http-query
's QueryResult
and Error
on the QueryManager::query
and QueryManager::query_range
methods.
This can be problematic if the API for the types changes or just the fact that the user has to add a direct dependency to that crate in order to use those types in a type signature.