Skip to content

Commit a261934

Browse files
authored
Add EDOT Collector to versions.yml (elastic#1513)
* Add EDOT Collector * Update docs
1 parent f3db552 commit a261934

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

docs/syntax/applies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,23 @@ applies_to:
227227
product:
228228
ecctl:
229229
curator:
230-
apm_agent_android:
231230
apm_agent_dotnet:
232231
apm_agent_go:
233-
apm_agent_ios:
234232
apm_agent_java:
235233
apm_agent_node:
236234
apm_agent_php:
237235
apm_agent_python:
238236
apm_agent_ruby:
239237
apm_agent_rum:
238+
edot_collector:
240239
edot_ios:
241240
edot_android:
242241
edot_dotnet:
243242
edot_java:
244243
edot_node:
245244
edot_php:
246245
edot_python:
246+
edot_cf_aws:
247247
---
248248
```
249249

src/Elastic.Documentation.Configuration/Versions/Version.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public enum VersioningSystemId
8484
[Display(Name = "edot_python")]
8585
EdotPython,
8686
[Display(Name = "edot_cf_aws")]
87-
EdotCfAws
87+
EdotCfAws,
88+
[Display(Name = "edot_collector")]
89+
EdotCollector
8890
}
8991

9092
[YamlSerializable]

src/Elastic.Documentation.Configuration/versions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ versioning_systems:
6464
current: 5.17.0
6565

6666
# EDOTs
67+
edot_collector:
68+
base: 9.0
69+
current: 9.0.3
6770
edot_ios:
6871
base: 1.0
6972
current: 1.2.1

src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@
228228
@RenderProduct("EDOT CF AWS", "Elastic Distribution of OpenTelemetry Cloud Forwarder for AWS", VersioningSystemId.EdotCfAws, pa.EdotCfAws)
229229
;
230230
}
231+
232+
if (pa.EdotCollector is not null)
233+
{
234+
@RenderProduct("EDOT Collector", "Elastic Distribution of OpenTelemetry Collector", VersioningSystemId.EdotCollector, pa.EdotCollector)
235+
;
236+
}
231237
}
232238

233239
@functions {

src/Elastic.Markdown/Myst/FrontMatter/ApplicableTo.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ public record ProductApplicability
177177

178178
[YamlMember(Alias = "edot_cf_aws")]
179179
public AppliesCollection? EdotCfAws { get; set; }
180+
181+
[YamlMember(Alias = "edot_collector")]
182+
public AppliesCollection? EdotCollector { get; set; }
180183
}
181184

182185
public class ApplicableToConverter : IYamlTypeConverter

0 commit comments

Comments
 (0)