You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
{
"level": "error",
"ts": "2023-06-28T09:12:34.996-0400",
"caller": "[email protected]/metrics.go:605",
"msg": "error reading WAL and exporting: remove ./storage/gcp_metrics_wal/00000000000000000176: no such file or directory",
"kind": "exporter",
"data_type": "metrics",
"name": "googlecloud/gcp",
"stacktrace": "github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector.(*MetricsExporter).runWALReadAndExportLoop\n\t/Users/cphelps/go/pkg/mod/github.com/!google!cloud!platform/opentelemetry-operations-go/exporter/[email protected]/metrics.go:605"
}
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:
@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:
The text was updated successfully, but these errors were encountered: