crate / cratedb-prometheus-adapter

CrateDB Prometheus Adapter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mismatched input 'commit'

lstanczak opened this issue · comments

When using prometheus 2.3.2 and crate 3.0.5 I'm getting:

ERRO[2772] Failed to POST inserts to Crate. err="error closing write batch: ERROR: SQLParseException: line 1:1: mismatched input 'commit' expecting {'SELECT', 'DEALLOCATE', 'CREATE', 'ALTER', 'KILL', 'BEGIN', 'EXPLAIN', 'SHOW', 'OPTIMIZE', 'REFRESH', 'RESTORE', 'DROP', 'INSERT', 'DELETE', 'UPDATE', 'SET', 'RESET', 'COPY', 'GRANT', 'DENY', 'REVOKE'} (SQLSTATE XX000)" source="server.go:332"

Noticed you closed this? I'm getting the same output using Prometheus 2.3.2 and Crate 3.0.5, did you find a workaround?

Yes, you need to use nigthly build of crate (3.1.0).