Can we use headers instead of custom attributes to send metrics to https://<UID>.middleware.io/v1/metrics?

If you want to use custom attributes, you cannot pass the middleware account key, “mw.account_key,” as a resource attribute. Instead, you should include it in the ‘Authorization: <MW_API_KEY>’ header.