$stats stream does not exist (404)

is the $stats stream always enabled in EventStore (v.20.10)?

I’m getting “stream does not exist” error when trying to view the stream in the UI (request returns 404). I’m putting name of the stream in this form: $stats- (where IP is actually one of the nodes in a cluster). It’s not about url encoding of $ sign, as other system streams work fine.

side issue: I also can’t request http://iphere:2113/stats endpoint - doesn’t get handled by the server at all.

Any clues?

1 Like

By default we write stats to a CSV file on disk - writing them to a stream can cause a lot of churn, especially when you are in a cluster. You can however re-enable the old behavior by specifying --write-stats-to-db.