--- sort: 2 weight: 2 title: Additional Scrape Configuration menu: docs: parent: "operator" weight: 2 aliases: - /operator/additional-scrape.html --- # 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 [scrape_configs documentation](https://docs.victoriametrics.com/sd_configs.html#scrape_configs) as references. ## 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 <