Skip to content

Commit

Permalink
relative url in api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Jul 25, 2024
1 parent 0f899d1 commit 8f28fcc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions api/operator/v1beta1/common_scrapeparams.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type VMScrapeParams struct {
// disable_keepalive allows disabling HTTP keep-alive when scraping targets.
// By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
// could be re-used.
// See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
// See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
// +optional
DisableKeepAlive *bool `json:"disable_keep_alive,omitempty"`
// +optional
Expand All @@ -37,7 +37,7 @@ type VMScrapeParams struct {
// +optional
ScrapeOffset *string `json:"scrape_offset,omitempty"`
// ProxyClientConfig configures proxy auth settings for scraping
// See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
// See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
// +optional
ProxyClientConfig *ProxyAuth `json:"proxy_client_config,omitempty"`
// Headers allows sending custom headers to scrape targets
Expand Down
24 changes: 12 additions & 12 deletions config/crd/overlay/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16815,7 +16815,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -16832,7 +16832,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate over
Expand Down Expand Up @@ -17845,7 +17845,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -17862,7 +17862,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate
Expand Down Expand Up @@ -19048,7 +19048,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -19065,7 +19065,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate over
Expand Down Expand Up @@ -23433,7 +23433,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -23450,7 +23450,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate over
Expand Down Expand Up @@ -24451,7 +24451,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -24468,7 +24468,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate
Expand Down Expand Up @@ -27192,7 +27192,7 @@ spec:
disable_keepalive allows disabling HTTP keep-alive when scraping targets.
By default, HTTP keep-alive is enabled, so TCP connections to scrape targets
could be re-used.
See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements
See {{% ref "/vmagent.md#scrape_config-enhancements" %}}
type: boolean
headers:
description: |-
Expand All @@ -27209,7 +27209,7 @@ spec:
proxy_client_config:
description: |-
ProxyClientConfig configures proxy auth settings for scraping
See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy
See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}}
properties:
basic_auth:
description: BasicAuth allow an endpoint to authenticate
Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3220,10 +3220,10 @@ _Appears in:_
| Field | Description | Scheme | Required |
| --- | --- | --- | --- |
| `disable_compression` | DisableCompression | _boolean_ | false |
| `disable_keep_alive` | disable_keepalive allows disabling HTTP keep-alive when scraping targets.<br />By default, HTTP keep-alive is enabled, so TCP connections to scrape targets<br />could be re-used.<br />See https://docs.victoriametrics.com/vmagent.html#scrape_config-enhancements | _boolean_ | false |
| `disable_keep_alive` | disable_keepalive allows disabling HTTP keep-alive when scraping targets.<br />By default, HTTP keep-alive is enabled, so TCP connections to scrape targets<br />could be re-used.<br />See {{% ref "/vmagent.md#scrape_config-enhancements" %}} | _boolean_ | false |
| `headers` | Headers allows sending custom headers to scrape targets<br />must be in of semicolon separated header with it's value<br />eg:<br />headerName: headerValue<br />vmagent supports since 1.79.0 version | _string array_ | false |
| `no_stale_markers` | | _boolean_ | false |
| `proxy_client_config` | ProxyClientConfig configures proxy auth settings for scraping<br />See feature description https://docs.victoriametrics.com/vmagent.html#scraping-targets-via-a-proxy | _[ProxyAuth](#proxyauth)_ | false |
| `proxy_client_config` | ProxyClientConfig configures proxy auth settings for scraping<br />See feature description {{% ref "/vmagent.md#scraping-targets-via-a-proxy %}} | _[ProxyAuth](#proxyauth)_ | false |
| `scrape_align_interval` | | _string_ | false |
| `scrape_offset` | | _string_ | false |
| `stream_parse` | | _boolean_ | false |
Expand Down

0 comments on commit 8f28fcc

Please sign in to comment.