Hi,
In section "remote_write:", where you most likely configure your influxdb setup, you can add some "write_relabel_configs:".
For example, this would send only all metrics with "prefix:"
write_relabel_configs:
- source_labels: ['__name__']
regex: (prefix:.*)
action: keep
So, you keep or drop based on labels. You may combine with recording rules:
- define recording rules with some known prefix, and use those rules to perform aggregations
- define write_relabel_configs as above to send only metrics with "prefix:" so only the aggregated metrics