Multiple scrape_interval's in prometheus.yml

Is it possible to have more than one scrape_interval defined in my prometheus.yml?

My scenario is that I want a global scrape_interval of 1minute, However, there is one exporter (Infiniband) that seems to work better at a 30second scrape interval. Can I do this?

Would the format of my .yml be like this?

global:
scrape_interval: 60s

  • job_name: Infiniband
    scrape_interval: 30s
    static_configs:
    • targets:
      • <node_name>:9683

Thanks for any guidance.

Yes, that should work.