Skip to content

Commit c88aad5

Browse files
authored
Add SemConv spec under docs/specs (preview) (open-telemetry#2920)
1 parent 4c23861 commit c88aad5

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: OpenTelemetry Semantic Conventions
3+
linkTitle: Semantic Conventions
4+
cascade:
5+
draft: true
6+
---

hugo.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ module:
185185
target: content/docs/specs/otlp/_index.md
186186
- source: tmp/otlp/docs/img
187187
target: content/docs/specs/otlp/img
188+
- source: tmp/semconv/specification/logs
189+
target: content/docs/specs/semconv/logs
190+
- source: tmp/semconv/specification/metrics
191+
target: content/docs/specs/semconv/metrics
192+
- source: tmp/semconv/specification/resource
193+
target: content/docs/specs/semconv/resource
194+
- source: tmp/semconv/specification/trace
195+
target: content/docs/specs/semconv/trace
188196
- source: tmp/community/mission-vision-values.md
189197
target: content/community/mission.md
190198
- source: tmp/community/roadmap.md

scripts/content-modules/cp-pages.sh

+18
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,21 @@ FILES=$(find $DEST -name mission-vision-values.md -o -name roadmap.md)
6565
$SCRIPT_DIR/adjust-pages.pl $FILES
6666

6767
echo "COMMUNITY pages: copied and processed"
68+
69+
## Semantic Conventions
70+
71+
SRC=content-modules/semantic-conventions/specification
72+
DEST=$DEST_BASE/semconv/specification
73+
74+
rm -Rf $DEST
75+
mkdir -p $DEST
76+
cp -R $SRC/* $DEST/
77+
78+
find $DEST/ -name "README.md" -exec sh -c 'f="{}"; mv -- "$f" "${f%README.md}_index.md"' \;
79+
80+
# To exclude a file use, e.g.: -not -path '*/specification/_index.md'
81+
FILES=$(find $DEST -name "*.md")
82+
83+
$SCRIPT_DIR/adjust-pages.pl $FILES
84+
85+
echo "OTEL SEMCONV pages: copied and processed"

static/refcache.json

+28
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,14 @@
311311
"StatusCode": 200,
312312
"LastSeen": "2023-02-15T20:40:15.875102-05:00"
313313
},
314+
"https://cloud.google.com/compute/docs/instances/custom-hostname-vm": {
315+
"StatusCode": 200,
316+
"LastSeen": "2023-06-27T17:18:02.125065-04:00"
317+
},
318+
"https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names": {
319+
"StatusCode": 200,
320+
"LastSeen": "2023-06-27T17:17:56.736764-04:00"
321+
},
314322
"https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.events/report": {
315323
"StatusCode": 200,
316324
"LastSeen": "2023-02-15T20:39:17.120733-05:00"
@@ -1003,6 +1011,10 @@
10031011
"StatusCode": 200,
10041012
"LastSeen": "2023-05-15T13:56:30.762393-04:00"
10051013
},
1014+
"https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuTime%28%29": {
1015+
"StatusCode": 200,
1016+
"LastSeen": "2023-06-27T17:17:39.237886-04:00"
1017+
},
10061018
"https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getSystemCpuLoad%28%29": {
10071019
"StatusCode": 200,
10081020
"LastSeen": "2023-05-15T13:56:42.21615-04:00"
@@ -4491,10 +4503,18 @@
44914503
"StatusCode": 206,
44924504
"LastSeen": "2023-05-15T13:56:52.995519-04:00"
44934505
},
4506+
"https://www.ibm.com/docs/api/v1/content/SSYKE2_8.0.0/openj9/api/jdk8/jre/management/extension/com/ibm/lang/management/OperatingSystemMXBean.html": {
4507+
"StatusCode": 206,
4508+
"LastSeen": "2023-06-27T17:17:49.452299-04:00"
4509+
},
44944510
"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--": {
44954511
"StatusCode": 206,
44964512
"LastSeen": "2023-06-09T09:34:45.428293-04:00"
44974513
},
4514+
"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--": {
4515+
"StatusCode": 206,
4516+
"LastSeen": "2023-06-27T17:17:44.341257-04:00"
4517+
},
44984518
"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--": {
44994519
"StatusCode": 206,
45004520
"LastSeen": "2023-06-09T09:34:50.499871-04:00"
@@ -4827,6 +4847,10 @@
48274847
"StatusCode": 200,
48284848
"LastSeen": "2023-05-15T13:58:27.159768-04:00"
48294849
},
4850+
"https://www.rfc-editor.org/rfc/rfc5789.html": {
4851+
"StatusCode": 200,
4852+
"LastSeen": "2023-06-27T17:17:33.646508-04:00"
4853+
},
48304854
"https://www.rfc-editor.org/rfc/rfc9110.html": {
48314855
"StatusCode": 200,
48324856
"LastSeen": "2023-02-18T13:35:03.0461-05:00"
@@ -4839,6 +4863,10 @@
48394863
"StatusCode": 200,
48404864
"LastSeen": "2023-02-18T13:40:51.35642-05:00"
48414865
},
4866+
"https://www.rfc-editor.org/rfc/rfc9110.html#name-methods": {
4867+
"StatusCode": 200,
4868+
"LastSeen": "2023-06-27T17:17:27.904619-04:00"
4869+
},
48424870
"https://www.rfc-editor.org/rfc/rfc9110.html#name-uri-origin": {
48434871
"StatusCode": 200,
48444872
"LastSeen": "2023-02-18T13:39:03.702169-05:00"

0 commit comments

Comments
 (0)