Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SemConv spec under docs/specs (preview) #2920

Merged
merged 2 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/en/docs/specs/semconv/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: OpenTelemetry Semantic Conventions
linkTitle: Semantic Conventions
cascade:
draft: true
---
8 changes: 8 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ module:
target: content/docs/specs/otlp/_index.md
- source: tmp/otlp/docs/img
target: content/docs/specs/otlp/img
- source: tmp/semconv/specification/logs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're going through a refactoring of the semantic conventions markdown right now.

Can we just mount tmp/semconv/specification? There will be a top-level readme file there shortly and I'm happy to give it all the hugo content you need.

We do not want to have logs/metrics/trace specific locations going forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've answered further below.

target: content/docs/specs/semconv/logs
- source: tmp/semconv/specification/metrics
target: content/docs/specs/semconv/metrics
- source: tmp/semconv/specification/resource
target: content/docs/specs/semconv/resource
- source: tmp/semconv/specification/trace
target: content/docs/specs/semconv/trace
- source: tmp/community/mission-vision-values.md
target: content/community/mission.md
- source: tmp/community/roadmap.md
Expand Down
18 changes: 18 additions & 0 deletions scripts/content-modules/cp-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,21 @@ FILES=$(find $DEST -name mission-vision-values.md -o -name roadmap.md)
$SCRIPT_DIR/adjust-pages.pl $FILES

echo "COMMUNITY pages: copied and processed"

## Semantic Conventions

SRC=content-modules/semantic-conventions/specification
DEST=$DEST_BASE/semconv/specification

rm -Rf $DEST
mkdir -p $DEST
cp -R $SRC/* $DEST/

find $DEST/ -name "README.md" -exec sh -c 'f="{}"; mv -- "$f" "${f%README.md}_index.md"' \;

# To exclude a file use, e.g.: -not -path '*/specification/_index.md'
FILES=$(find $DEST -name "*.md")

$SCRIPT_DIR/adjust-pages.pl $FILES

echo "OTEL SEMCONV pages: copied and processed"
28 changes: 28 additions & 0 deletions static/refcache.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,14 @@
"StatusCode": 200,
"LastSeen": "2023-02-15T20:40:15.875102-05:00"
},
"https://cloud.google.com/compute/docs/instances/custom-hostname-vm": {
"StatusCode": 200,
"LastSeen": "2023-06-27T17:18:02.125065-04:00"
},
"https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names": {
"StatusCode": 200,
"LastSeen": "2023-06-27T17:17:56.736764-04:00"
},
"https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.events/report": {
"StatusCode": 200,
"LastSeen": "2023-02-15T20:39:17.120733-05:00"
Expand Down Expand Up @@ -1003,6 +1011,10 @@
"StatusCode": 200,
"LastSeen": "2023-05-15T13:56:30.762393-04:00"
},
"https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuTime%28%29": {
"StatusCode": 200,
"LastSeen": "2023-06-27T17:17:39.237886-04:00"
},
"https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getSystemCpuLoad%28%29": {
"StatusCode": 200,
"LastSeen": "2023-05-15T13:56:42.21615-04:00"
Expand Down Expand Up @@ -4491,10 +4503,18 @@
"StatusCode": 206,
"LastSeen": "2023-05-15T13:56:52.995519-04:00"
},
"https://www.ibm.com/docs/api/v1/content/SSYKE2_8.0.0/openj9/api/jdk8/jre/management/extension/com/ibm/lang/management/OperatingSystemMXBean.html": {
"StatusCode": 206,
"LastSeen": "2023-06-27T17:17:49.452299-04:00"
},
"https://www.ibm.com/docs/api/v1/content/SSYKE2_8.0.0/openj9/api/jdk8/jre/management/extension/com/ibm/lang/management/OperatingSystemMXBean.html#getProcessCpuLoad--": {
"StatusCode": 206,
"LastSeen": "2023-06-09T09:34:45.428293-04:00"
},
"https://www.ibm.com/docs/api/v1/content/SSYKE2_8.0.0/openj9/api/jdk8/jre/management/extension/com/ibm/lang/management/OperatingSystemMXBean.html#getProcessCpuTime--": {
"StatusCode": 206,
"LastSeen": "2023-06-27T17:17:44.341257-04:00"
},
"https://www.ibm.com/docs/api/v1/content/SSYKE2_8.0.0/openj9/api/jdk8/jre/management/extension/com/ibm/lang/management/OperatingSystemMXBean.html#getSystemCpuLoad--": {
"StatusCode": 206,
"LastSeen": "2023-06-09T09:34:50.499871-04:00"
Expand Down Expand Up @@ -4827,6 +4847,10 @@
"StatusCode": 200,
"LastSeen": "2023-05-15T13:58:27.159768-04:00"
},
"https://www.rfc-editor.org/rfc/rfc5789.html": {
"StatusCode": 200,
"LastSeen": "2023-06-27T17:17:33.646508-04:00"
},
"https://www.rfc-editor.org/rfc/rfc9110.html": {
"StatusCode": 200,
"LastSeen": "2023-02-18T13:35:03.0461-05:00"
Expand All @@ -4839,6 +4863,10 @@
"StatusCode": 200,
"LastSeen": "2023-02-18T13:40:51.35642-05:00"
},
"https://www.rfc-editor.org/rfc/rfc9110.html#name-methods": {
"StatusCode": 200,
"LastSeen": "2023-06-27T17:17:27.904619-04:00"
},
"https://www.rfc-editor.org/rfc/rfc9110.html#name-uri-origin": {
"StatusCode": 200,
"LastSeen": "2023-02-18T13:39:03.702169-05:00"
Expand Down