-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schemas at
/schemas
in YAML, and /schemas/list
in HTML
- Loading branch information
Showing
10 changed files
with
121 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.ot-schema-list, | ||
.ot-schemas-404 { | ||
// Hide the sidebar. Add the sidebar's number of col to `main` | ||
main { | ||
@extend .col-md-10; | ||
} | ||
|
||
.td-sidebar { | ||
display: none; | ||
} | ||
|
||
main td code { | ||
background-color: inherit; | ||
} | ||
|
||
// Fixes https://github.com/open-telemetry/opentelemetry.io/issues/1102 | ||
// TODO: upstream | ||
.td-sidebar-toc { | ||
margin-top: 4rem; | ||
top: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: 404 - Schema not found | ||
linkTitle: Schemas | ||
type: docs | ||
no_list: true | ||
body_class: ot-schemas-404 | ||
outputs: [HTML, YAML] | ||
# | ||
# Note: | ||
# The paths to the `list` and `latest` are absolute below since we | ||
# don't know from which URL this 404 page will be served. | ||
# | ||
--- | ||
|
||
The page or schema you requested doesn't exist. Maybe you're looking for one of | ||
these: | ||
|
||
- [List of schemas](/schemas/list/) hosted on this site, also available in | ||
[YAML format](/schemas/index.yaml) | ||
- [Latest](/schemas/latest) schema | ||
- More information about [Telemetry Schemas] in general, or [OpenTelemetry | ||
Schema] in particular. | ||
|
||
[OpenTelemetry Schema]: /docs/specs/otel/schemas/#opentelemetry-schema | ||
[Telemetry Schemas]: /docs/specs/otel/schemas/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: OpenTelemetry Schemas | ||
linkTitle: List | ||
type: docs | ||
body_class: ot-schema-list | ||
--- | ||
|
||
{{% alert title="<i class=\"fa-solid fa-triangle-exclamation\"></i> Warning" color="warning" %}} | ||
|
||
This page, its content, and formatting are **non-normative** and **subject to | ||
change**. In particular it is not meant for automated processing. | ||
|
||
{{% /alert %}} | ||
|
||
The OpenTelemetry schemas hosted on this site are listed below. To learn more | ||
about schemas, see [Telemetry Schemas][]. The list is also available in | ||
[YAML format](/schemas/index.yaml). | ||
|
||
{{% schemas %}} | ||
|
||
[Telemetry Schemas]: /docs/specs/otel/schemas/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{ $schemaFiles := partial "schema-file-list" . -}} | ||
{{ $latestSchemaFile := index $schemaFiles 0 -}} | ||
# OpenTelemetry Schemas | ||
# | ||
# https://github.com/open-telemetry/semantic-conventions/tree/v{{ $latestSchemaFile.Name }}/schemas | ||
# | ||
{{ $schemaFiles := partial "schema-file-list.html" . -}} | ||
{{- range $schemaFiles -}} | ||
- {{ .Name }} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- $schemaFiles := partial "schema-file-list.html" . -}} | ||
|
||
| Version | | ||
|---------| | ||
{{ range $i, $schema := $schemaFiles -}} | ||
| [`{{ $schema.Name }}`](/schemas/{{ $schema.Name }}) | ||
{{- if eq $i 0 -}} | ||
([latest](/schemas/latest)) | ||
{{- end -}} | | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters