Hi all πŸ™‹β€β™‚οΈ,
# spicedb
d
Hi all πŸ™‹β€β™‚οΈ, We’re encountering the following in SpiceDB v1.43.0 when passing both read-replica and main datastore URIs:
Copy code
{"level":"trace","time":"2025-08-03T21:48:27Z","message":"NewMySQLDatastore: unable to instrument connector: unable to register metric: duplicate metrics collector registration attempted"}

{"level":"error","error":"failed to create datastore: NewMySQLDatastore: unable to instrument connector. To view details of this error (that may contain sensitive information), please run with --log-level=trace
Setup includes deployment in EKS v1.31.1, using these env vars:
Copy code
SPICEDB_DATASTORE_READ_REPLICA_CONN_URI=...read-only-host...
SPICEDB_DATASTORE_CONN_URI=...write-host...
Has anyone seen this? Any ideas or workarounds?
BTW, we created this issue on GH with more details: https://github.com/authzed/spicedb/issues/2518
y
thank you for adding the issue! we'll have a look soon