Open cpheps opened 1 year ago
This makes sense with the current implementation. The different exporters can't read from the same WAL because there's nothing mapping which entries go to which exporter.
You should be able to make this work using different directories like:
exporters:
googlecloud/proj1:
metric:
experimental_wal_config:
directory: ./storage/proj1
max_backoff: 60m
project: proj1
googlecloud/proj2:
metric:
experimental_wal_config:
directory: ./storage/proj2
max_backoff: 60m
project: proj2
We might be able to do this automatically by parsing the name of the exporter and using that as the file name under the directory.
@damemi that makes sense. It wasn't clear at first if they could share the same directly like the file_storage
extension does by creating a subdirectory with the component ID.
I think it's fine as is but it would be nice if did automatically create something for you.
When multiple
googlecloud
exporters are configured they seem to compete for access to the WAL. This causes several error logs on the WAL not being found or being deleted.These are some of the error logs observed:
Here is mocked up example config to reproduce: