Prometheus scrape_configs with params

I am leveraging embedded Prometheus. What I want to achieve is: let my Prometheus scrape blackbox exporter: curl 'http:/blackbox_exporter:80/probe?module=http_2xx&target=https://other_host.

There is a relevant section in gitlab.rb:

prometheus['scrape_configs'] = [
  {
    'job_name': 'example',
    'static_configs' => [
      'targets' => ['hostname:port'],
    ],
  },
]

My question is: how to add parameter section so proper Prometheus config is generated and module and target parameters are passed correctly? Some example please.

The proper syntax is:

prometheus['scrape_configs'] = [
  {
    'job_name': 'gitlab-dev',
    'static_configs' => [
      'targets' => ['blackbox-endpoint:80/probe'],
    ],
    'params' => [
      'module' => ['http_2xx'],
      'target' => ['https://some-service.com']
    ],
  },
]