--- sort: 2 --- # Additional Scrape Configuration AdditionalScrapeConfigs is an additional way to add scrape targets in VMAgent CRD. There are two options for adding targets into VMAgent: inline configuration into CRD or defining it as a Kubernetes Secret. No validation happens during the creation of configuration. However, you must validate job specs, and it must follow job spec configuration. Please check official Prometheus documentation as references. [Prometheus documentation](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). ## Inline Additional Scrape Configuration in VMAgent CRD You need to add scrape configuration directly to the vmagent spec.inlineScrapeConfig. It is raw text in YAML format. See example below ```yaml cat <