You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ aliases:
14
14
## tip
15
15
16
16
* Dependency: [vmoperator](https://docs.victoriametrics.com/operator/): Updated default versions for VL apps to [v1.36.1](https://github.com/VictoriaMetrics/VictoriaLogs/releases/tag/v1.36.1).
17
-
* Dependency: [vmoperator](https://docs.victoriametrics.com/operator/): Updated default versions for VM apps to [v1.127.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.127.0) version
17
+
* Dependency: [vmoperator](https://docs.victoriametrics.com/operator/): Updated default versions for VM apps to [v1.128.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.128.0) version
18
18
* Dependency: [vmoperator](https://docs.victoriametrics.com/operator/): Updated default versions for VT apps to [v0.4.0](https://github.com/VictoriaMetrics/VictoriaTraces/releases/tag/v0.4.0) version
19
19
* Dependency: [vmoperator](https://docs.victoriametrics.com/operator/): Updated default versions for VMAnomaly to [v1.26.1](https://docs.victoriametrics.com/anomaly-detection/changelog/#v1261) version
| type<a href="#rulegroup-type" id="rulegroup-type">#</a><br/>_string_ | _(Optional)_<br/>Type defines datasource type for enterprise version of vmalert<br />possible values - prometheus,graphite,vlogs |
2657
2657
2658
2658
2659
+
#### ScrapeClass
2660
+
2661
+
2662
+
2663
+
2664
+
2665
+
Appears in: [VMAgentSpec](#vmagentspec)
2666
+
2667
+
| Field | Description |
2668
+
| --- | --- |
2669
+
| attachMetadata<a href="#scrapeclass-attachmetadata" id="scrapeclass-attachmetadata">#</a><br/>_[AttachMetadata](#attachmetadata)_ | _(Optional)_<br/>AttachMetadata defines additional metadata to the discovered targets.<br />When the scrape object defines its own configuration, it takes<br />precedence over the scrape class configuration. |
2670
+
| authorization<a href="#scrapeclass-authorization" id="scrapeclass-authorization">#</a><br/>_[Authorization](#authorization)_ | _(Optional)_<br/>authorization section for the ScrapeClass.<br />It will only apply if the scrape resource doesn't specify any Authorization. |
2671
+
| default<a href="#scrapeclass-default" id="scrapeclass-default">#</a><br/>_boolean_ | _(Optional)_<br/>default defines that the scrape applies to all scrape objects that<br />don't configure an explicit scrape class name.<br /><br />Only one scrape class can be set as the default. |
2672
+
| metricRelabelings<a href="#scrapeclass-metricrelabelings" id="scrapeclass-metricrelabelings">#</a><br/>_[RelabelConfig](#relabelconfig) array_ | _(Optional)_<br/>MetricRelabelings defines the relabeling rules to apply to all samples before ingestion. |
2673
+
| name<a href="#scrapeclass-name" id="scrapeclass-name">#</a><br/>_string_ | _(Required)_<br/>name of the scrape class. |
2674
+
| relabelings<a href="#scrapeclass-relabelings" id="scrapeclass-relabelings">#</a><br/>_[RelabelConfig](#relabelconfig) array_ | _(Optional)_<br/>Relabelings defines the relabeling rules to apply to all scrape targets. |
2675
+
| tlsConfig<a href="#scrapeclass-tlsconfig" id="scrapeclass-tlsconfig">#</a><br/>_[TLSConfig](#tlsconfig)_ | _(Optional)_<br/>tlsConfig defines the TLS settings to use for the scrape. When the<br />scrape objects define their own CA, certificate and/or key, they take<br />precedence over the corresponding scrape class fields.<br /><br />For now only the `caFile`, `certFile` and `keyFile` fields are supported. |
| scrapeClasses<a href="#vmagentspec-scrapeclasses" id="vmagentspec-scrapeclasses">#</a><br/>_[ScrapeClass](#scrapeclass) array_ | _(Optional)_<br/>ScrapeClasses defines the list of scrape classes to expose to scraping objects such as<br />PodScrapes, ServiceScrapes, Probes and ScrapeConfigs. |
3455
3475
| scrapeConfigNamespaceSelector<a href="#vmagentspec-scrapeconfignamespaceselector" id="vmagentspec-scrapeconfignamespaceselector">#</a><br/>_[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#labelselector-v1-meta)_ | _(Optional)_<br/>ScrapeConfigNamespaceSelector defines Namespaces to be selected for VMScrapeConfig discovery.<br />Works in combination with Selector.<br />NamespaceSelector nil - only objects at VMAgent namespace.<br />Selector nil - only objects at NamespaceSelector namespaces.<br />If both nil - behaviour controlled by selectAllByDefault |
3456
3476
| scrapeConfigRelabelTemplate<a href="#vmagentspec-scrapeconfigrelabeltemplate" id="vmagentspec-scrapeconfigrelabeltemplate">#</a><br/>_[RelabelConfig](#relabelconfig) array_ | _(Optional)_<br/>ScrapeConfigRelabelTemplate defines relabel config, that will be added to each VMScrapeConfig.<br />it's useful for adding specific labels to all targets |
3457
3477
| scrapeConfigSelector<a href="#vmagentspec-scrapeconfigselector" id="vmagentspec-scrapeconfigselector">#</a><br/>_[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#labelselector-v1-meta)_ | _(Optional)_<br/>ScrapeConfigSelector defines VMScrapeConfig to be selected for target discovery.<br />Works in combination with NamespaceSelector. |
| namespaceSelector<a href="#vmservicescrapespec-namespaceselector" id="vmservicescrapespec-namespaceselector">#</a><br/>_[NamespaceSelector](#namespaceselector)_ | _(Optional)_<br/>Selector to select which namespaces the Endpoints objects are discovered from. |
4569
4589
| podTargetLabels<a href="#vmservicescrapespec-podtargetlabels" id="vmservicescrapespec-podtargetlabels">#</a><br/>_string array_ | _(Optional)_<br/>PodTargetLabels transfers labels on the Kubernetes Pod onto the target. |
4570
4590
| sampleLimit<a href="#vmservicescrapespec-samplelimit" id="vmservicescrapespec-samplelimit">#</a><br/>_integer_ | _(Optional)_<br/>SampleLimit defines per-scrape limit on number of scraped samples that will be accepted. |
4591
+
| scrapeClass<a href="#vmservicescrapespec-scrapeclass" id="vmservicescrapespec-scrapeclass">#</a><br/>_string_ | _(Optional)_<br/>ScrapeClass defined scrape class to apply |
4571
4592
| selector<a href="#vmservicescrapespec-selector" id="vmservicescrapespec-selector">#</a><br/>_[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#labelselector-v1-meta)_ | _(Optional)_<br/>Selector to select Endpoints objects by corresponding Service labels. |
4572
4593
| seriesLimit<a href="#vmservicescrapespec-serieslimit" id="vmservicescrapespec-serieslimit">#</a><br/>_integer_ | _(Optional)_<br/>SeriesLimit defines per-scrape limit on number of unique time series<br />a single target can expose during all the scrapes on the time window of 24h. |
4573
4594
| targetLabels<a href="#vmservicescrapespec-targetlabels" id="vmservicescrapespec-targetlabels">#</a><br/>_string array_ | _(Optional)_<br/>TargetLabels transfers labels on the Kubernetes Service onto the target. |
| VM_USECUSTOMCONFIGRELOADER: `false` <ahref="#variables-vm-usecustomconfigreloader"id="variables-vm-usecustomconfigreloader">#</a><br>enables custom config reloader for vmauth and vmagent, it should speed-up config reloading process. |
0 commit comments