Skip to content

Commit 7bb62e5

Browse files
authored
v25.4 initial paths/files, and template fixes for supporting them pre-alpha-release (#20199)
* Support pre-testing-release phase, where we have versioned docs and a `versions.csv` entry, but not yet any releases.yml entry, for the new major version. - Release info plugin: Add support for having versioned docs and versions.csv entry without any releases.yml entries. Previously this would yield a `NoMethodError` and block the build - Version switcher: Filter dropdowns to only show versions that have releases (testing or prod) in releases.yml - Prevents "No releases available" from appearing in the menu across versions, during this pre-alpha state. These changes ensure that we can merge and preview docs for the forthcoming version before it has reached alpha, while leaving it hidden from public view, only accessible via direct /<version> URLs. Note that the /dev alias will not work until we set the new version as `dev` in _config_cockroachdb.yml upon the first alpha release. * Add data validation to release_info Jekyll plugin - Validate all release dates before processing to prevent Date.parse crashes - Validate required docker configuration exists before accessing nested hash - Fail fast with descriptive error messages instead of silent data corruption - Error messages include release name and major version for easy debugging Addresses build stability concerns while ensuring data quality by catching malformed entries in releases.yml during build time rather than at runtime. Fixes potential crashes from: - nil/empty/invalid release_date values - missing docker.docker_image configuration * Add initial paths and files for v25.4 * Temporarily use prior release branch for SQL diagrams
1 parent 9f705ac commit 7bb62e5

File tree

1,754 files changed

+200648
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,754 files changed

+200648
-16
lines changed

src/current/_data/v25.4/cluster-settings.csv

Lines changed: 460 additions & 0 deletions
Large diffs are not rendered by default.

src/current/_data/v25.4/metrics/available-metrics-in-metrics-list.csv

Lines changed: 479 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
- metric_id: seconds.until.enterprise.license.expiry
2+
description: Seconds until enterprise license expiry (0 if no license present or running without enterprise features)
3+
y-axis label: License Expiration
4+
type: GAUGE
5+
unit: TIMESTAMP_SEC
6+
how_to_use: See Description.
7+
essential: true
8+
- metric_id: security.certificate.expiration.ca
9+
labeled_name: 'security.certificate.expiration{certificate_type=ca}'
10+
description: Expiration for the CA certificate. 0 means no certificate or error.
11+
y-axis label: Certificate Expiration
12+
type: GAUGE
13+
unit: TIMESTAMP_SEC
14+
how_to_use: See Description.
15+
essential: true
16+
- metric_id: security.certificate.expiration.client-ca
17+
labeled_name: 'security.certificate.expiration{certificate_type=client-ca}'
18+
description: Expiration for the client CA certificate. 0 means no certificate or error.
19+
y-axis label: Certificate Expiration
20+
type: GAUGE
21+
unit: TIMESTAMP_SEC
22+
how_to_use: See Description.
23+
essential: true
24+
- metric_id: security.certificate.expiration.client
25+
labeled_name: 'security.certificate.expiration{certificate_type=client}'
26+
description: Minimum expiration for client certificates, labeled by SQL user. 0 means no certificate or error.
27+
y-axis label: Certificate Expiration
28+
type: GAUGE
29+
unit: TIMESTAMP_SEC
30+
how_to_use: See Description.
31+
essential: true
32+
- metric_id: security.certificate.expiration.ui-ca
33+
labeled_name: 'security.certificate.expiration{certificate_type=ui-ca}'
34+
description: Expiration for the UI CA certificate. 0 means no certificate or error.
35+
y-axis label: Certificate Expiration
36+
type: GAUGE
37+
unit: TIMESTAMP_SEC
38+
how_to_use: See Description.
39+
essential: true
40+
- metric_id: security.certificate.expiration.node
41+
labeled_name: 'security.certificate.expiration{certificate_type=node}'
42+
description: Expiration for the node certificate. 0 means no certificate or error.
43+
y-axis label: Certificate Expiration
44+
type: GAUGE
45+
unit: TIMESTAMP_SEC
46+
how_to_use: See Description.
47+
essential: true
48+
- metric_id: security.certificate.expiration.node-client
49+
labeled_name: 'security.certificate.expiration{certificate_type=node-client}'
50+
description: Expiration for the node's client certificate. 0 means no certificate or error.
51+
y-axis label: Certificate Expiration
52+
type: GAUGE
53+
unit: TIMESTAMP_SEC
54+
how_to_use: See Description.
55+
essential: true
56+
- metric_id: security.certificate.expiration.ui
57+
labeled_name: 'security.certificate.expiration{certificate_type=ui}'
58+
description: Expiration for the UI certificate. 0 means no certificate or error.
59+
y-axis label: Certificate Expiration
60+
type: GAUGE
61+
unit: TIMESTAMP_SEC
62+
how_to_use: See Description.
63+
essential: true
64+
- metric_id: security.certificate.expiration.ca-client-tenant
65+
labeled_name: 'security.certificate.expiration{certificate_type=ca-client-tenant}'
66+
description: Expiration for the Tenant Client CA certificate. 0 means no certificate or error.
67+
y-axis label: Certificate Expiration
68+
type: GAUGE
69+
unit: TIMESTAMP_SEC
70+
how_to_use: See Description.
71+
essential: true
72+
- metric_id: security.certificate.expiration.client-tenant
73+
labeled_name: 'security.certificate.expiration{certificate_type=client-tenant}'
74+
description: Expiration for the Tenant Client certificate. 0 means no certificate or error.
75+
y-axis label: Certificate Expiration
76+
type: GAUGE
77+
unit: TIMESTAMP_SEC
78+
how_to_use: See Description.
79+
essential: true
80+
- metric_id: security.certificate.ttl.ca
81+
description: Seconds till expiration for the CA certificate. 0 means expired, no certificate or error.
82+
y-axis label: Certificate TTL
83+
type: GAUGE
84+
unit: TIMESTAMP_SEC
85+
how_to_use: See Description.
86+
- metric_id: security.certificate.ttl.client-ca
87+
description: Seconds till expiration for the client CA certificate. 0 means expired, no certificate or error.
88+
y-axis label: Certificate TTL
89+
type: GAUGE
90+
unit: TIMESTAMP_SEC
91+
how_to_use: See Description.
92+
- metric_id: security.certificate.ttl.client
93+
description: Seconds till expiration for the client certificates, labeled by SQL user. 0 means expired, no certificate or error.
94+
y-axis label: Certificate TTL
95+
type: GAUGE
96+
unit: TIMESTAMP_SEC
97+
how_to_use: See Description.
98+
- metric_id: security.certificate.ttl.ui-ca
99+
description: Seconds till expiration for the UI CA certificate. 0 means expired, no certificate or error.
100+
y-axis label: Certificate TTL
101+
type: GAUGE
102+
unit: TIMESTAMP_SEC
103+
how_to_use: See Description.
104+
- metric_id: security.certificate.ttl.node
105+
description: Seconds till expiration for the node certificate. 0 means expired, no certificate or error.
106+
y-axis label: Certificate TTL
107+
type: GAUGE
108+
unit: TIMESTAMP_SEC
109+
how_to_use: See Description.
110+
- metric_id: security.certificate.ttl.node-client
111+
description: Seconds till expiration for the node's client certificate. 0 means expired, no certificate or error.
112+
y-axis label: Certificate TTL
113+
type: GAUGE
114+
unit: TIMESTAMP_SEC
115+
how_to_use: See Description.
116+
- metric_id: security.certificate.ttl.ui
117+
description: Seconds till expiration for the UI certificate. 0 means expired, no certificate or error.
118+
y-axis label: Certificate TTL
119+
type: GAUGE
120+
unit: TIMESTAMP_SEC
121+
how_to_use: See Description.
122+
- metric_id: security.certificate.ttl.ca-client-tenant
123+
description: Seconds till expiration for the Tenant Client CA certificate. 0 means expired, no certificate or error.
124+
y-axis label: Certificate TTL
125+
type: GAUGE
126+
unit: TIMESTAMP_SEC
127+
how_to_use: See Description.
128+
- metric_id: security.certificate.ttl.client-tenant
129+
description: Seconds till expiration for the Tenant Client certificate. 0 means expired, no certificate or error.
130+
y-axis label: Certificate TTL
131+
type: GAUGE
132+
unit: TIMESTAMP_SEC
133+
how_to_use: See Description.

0 commit comments

Comments
 (0)