"env": "production",
"job": "master"
}
}
]
(pre-process your JSON if you don't like doing that by hand). Alternatively, if the labels are common to *all* targets in that file, then you can add them using label rewriting in the prometheus job config.
Note though: it is generally not a good idea to override the "job" label. This is one used by prometheus itself to identify the scrape job, and helps to keep metrics unique.