How to add missing metadata to Google logging agent

I’m shipping logs from on-premise to the GCP using google-fluentd agent but on the GCP side it has missing few metadata like resource.labels.instance_id

Is there any way to have it set via funentd configuration?