Alberto Donato

Results 86 comments of Alberto Donato

It's currently not possible to specify the table name as parameter. Parameters can only be used where literal values are allowed

Hi, there's an example metrics configuration for Oracle with query-exporter, taken from that repository, at https://github.com/albertodonato/query-exporter/blob/main/examples/oracle-stats.yaml. If you have improvements over that sample config, could you please open a PR...

Can you please provide information on how are you running query-exporter (snap, docker, pip,...)?

Can you paste the output of `pip list`?

That pip output doesn't seem to match the query-exporter installation, as it doesn't list query-exporter itself nor many of its dependencies (e.g. SQLAlchemy, prometheus_client, ...). I suspect dependencies got upgraded...

This seems related to https://github.com/mkleehammer/pyodbc/issues/610

Given the solution for #31, can this be closed?

I'm not exactly sure about what is the desired solution. Is that to expose a metric with the last scrape, or a value that can be used in queries? Also,...

This very much depends in what you're trying to do. If, for instance, you're counting events by type, you should be able to just return the total counts and use...