justwatchcom / sql_exporter

Flexible SQL Exporter for Prometheus.
MIT License
403 stars 109 forks source link

added ability to set custom timestamp from a db column #106

Closed AndrewChubatiuk closed 1 year ago

AndrewChubatiuk commented 1 year ago

Hey @dewey I've added ability to set a custom timestamp from db column to create metrics from sql queries, which return timeseries

AndrewChubatiuk commented 1 year ago

@dewey Just curious, why do you add dot after v in tag names?

dewey commented 1 year ago

@AndrewChubatiuk That was not intentionally but I just saw it happened before. I just fixed all these cases and pushed a new alternative tag for these. Thanks for letting me know!

I'm pushing images on the fixed tags (v0.5.2, v0.5.1) too, just waiting for the build to complete.