Skip to content

Commit 4d1ca4a

Browse files
authored
Merge pull request #145 from splunk/hugo-modules
Moving to Hugo modules
2 parents 8b36126 + 1238474 commit 4d1ca4a

File tree

17 files changed

+76
-74
lines changed

17 files changed

+76
-74
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Setup Hugo
88
uses: peaceiris/actions-hugo@v2
99
with:
10-
hugo-version: '0.92.2'
10+
hugo-version: '0.110.0'
1111
extended: true
1212

1313
- name: Setup yq
@@ -51,7 +51,7 @@ runs:
5151
shell: bash
5252
run: npm ci --cache .npm --prefer-offline
5353

54-
- name: Get Submodules
55-
shell: bash
56-
run: cd themes/docsy && git submodule update -f --init --jobs=6 && cd ../..
54+
# - name: Get Submodules
55+
# shell: bash
56+
# run: cd themes/docsy && git submodule update -f --init --jobs=6 && cd ../..
5757

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ defaultContentLanguageInSubdir: false
66
enableMissingTranslationPlaceholders: true
77
enableRobotsTXT: true
88
theme:
9-
- docsy
9+
- github.com/google/docsy
10+
- github.com/google/docsy/dependencies
1011
enableGitInfo: true
1112
taxonomies:
1213
tag: tags

content/en/apm/docs/online-boutique/deploy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ otherwise if you have received a fresh instance, please run the first two (2) se
2121
To deploy the Online Boutique application into K3s, run the apm-config script, then apply the deployment:
2222

2323
{{< tabpane >}}
24-
{{< tab header="Deploy Online Boutique" lang="bash" >}}
24+
{{< tab header="Deploy Online Boutique" lang="sh" >}}
2525
cd ~/workshop/apm
2626
./apm-config.sh
2727
kubectl apply -f deployment.yaml
2828
{{< /tab >}}
29-
{{< tab header="Deployment Output" lang= "bash" >}}
29+
{{< tab header="Deployment Output" lang= "text" >}}
3030
APM Only Deployment
3131
deployment.apps/recommendationservice created
3232
service/recommendationservice created
@@ -65,10 +65,10 @@ Then export the variable as described in the guide/message, followed by rerunnin
6565
To ensure the Online Boutique application is running:
6666

6767
{{< tabpane >}}
68-
{{< tab header="Get Pods" lang="bash" >}}
68+
{{< tab header="Get Pods" lang="sh" >}}
6969
kubectl get pods
7070
{{< /tab >}}
71-
{{< tab header="Get Pods Output" lang= "bash" >}}
71+
{{< tab header="Get Pods Output" lang= "text" >}}
7272
NAME READY STATUS RESTARTS AGE
7373
splunk-otel-collector-k8s-cluster-receiver-849cf595bf-l7mnq 1/1 Running 0 31m
7474
splunk-otel-collector-agent-pxrgp 2/2 Running 0 31m

content/en/apm/docs/online-boutique/locust.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ For this we need to know the name of your application environment. In this works
2626
To find the hostname, on the AWS/EC2 instance run the following command:
2727

2828
{{< tabpane >}}
29-
{{< tab header="Echo Hostname" lang="bash" >}}
30-
echo $(hostname)-apm-env
31-
{{< /tab >}}
32-
{{< tab header="Output Example" lang= "bash" >}}
33-
bdzx-apm-env
34-
{{< /tab >}}
29+
{{< tab header="Echo Hostname" lang="sh" >}}
30+
echo $(hostname)-apm-env
31+
{{< /tab >}}
32+
{{< tab header="Output Example" lang= "text" >}}
33+
bdzx-apm-env
34+
{{< /tab >}}
3535
{{< /tabpane >}}
3636

3737
Select your environment you found in the previous step then select the `frontend` service and set time to Past 15 minutes.
@@ -84,7 +84,7 @@ To debug the traces being sent you can use the zpages extension. [zpages][zpages
8484
Alternatively, from your shell prompt you can run a text based browser:
8585

8686
{{< tabpane >}}
87-
{{< tab header="Lynx Command" lang="text" >}}
88-
lynx http://localhost:55679/debug/tracez
89-
{{< /tab >}}
87+
{{< tab header="Lynx Command" lang="text" >}}
88+
lynx http://localhost:55679/debug/tracez
89+
{{< /tab >}}
9090
{{< /tabpane >}}

content/en/imt/docs/gdi/k3s.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,21 @@ You will also need to obtain the name of the Realm[^2] for your Splunk account.
3030
Create the `ACCESS_TOKEN` and `REALM` environment variables to use in the proceeding Helm install command. For instance, if your realm is `us1`, you would type `export REALM=us1` and for `eu0` type `export REALM=eu0`.
3131

3232
{{< tabpane >}}
33-
{{< tab header="Export ACCESS TOKEN" lang="bash" >}}
33+
{{< tab header="Export ACCESS TOKEN" lang="sh" >}}
3434
export ACCESS_TOKEN="<replace_with_O11y-Workshop-ACCESS_TOKEN>"
3535
{{< /tab >}}
3636
{{< /tabpane >}}
3737

3838
{{< tabpane >}}
39-
{{< tab header="Export REALM" lang="bash" >}}
39+
{{< tab header="Export REALM" lang="sh" >}}
4040
export REALM="<replace_with_REALM>"
4141
{{< /tab >}}
4242
{{< /tabpane >}}
4343

4444
Install the OpenTelemetry Collector using the Splunk Helm chart. First, add the Splunk Helm chart repository to Helm and update.
45+
4546
{{< tabpane >}}
46-
{{< tab header="Helm Repo Add" lang="bash" >}}
47+
{{< tab header="Helm Repo Add" lang="sh" >}}
4748
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart && helm repo update
4849
{{< /tab >}}
4950
{{< tab header="Helm Repo Add Output" lang="text" >}}
@@ -61,7 +62,7 @@ Update Complete. ⎈Happy Helming!⎈
6162
Install the OpenTelemetry Collector Helm chart with the following commands, do **NOT** edit this:
6263

6364
{{< tabpane >}}
64-
{{< tab header="Helm Install" lang="text" >}}
65+
{{< tab header="Helm Install" lang="sh" >}}
6566
helm install splunk-otel-collector \
6667
--set="splunkObservability.realm=$REALM" \
6768
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
@@ -73,9 +74,6 @@ helm install splunk-otel-collector \
7374
splunk-otel-collector-chart/splunk-otel-collector \
7475
-f ~/workshop/k3s/otel-collector.yaml
7576
{{< /tab >}}
76-
{{< tab header="Helm Install Single Line" lang="text" >}}
77-
helm install splunk-otel-collector --set="splunkObservability.realm=$REALM" --set="splunkObservability.accessToken=$ACCESS_TOKEN" --set="clusterName=$(hostname)-k3s-cluster" --set="splunkObservability.logsEnabled=true" --set="splunkObservability.profilingEnabled=true" --set="environment=$(hostname)-apm-env" splunk-otel-collector-chart/splunk-otel-collector -f ~/workshop/k3s/otel-collector.yaml
78-
{{< /tab >}}
7977
{{< tab header="Helm Install Output" lang="text" >}}
8078
Using ACCESS_TOKEN={REDACTED}
8179
Using REALM=eu0
@@ -86,7 +84,7 @@ STATUS: deployed
8684
REVISION: 1
8785
TEST SUITE: None
8886
{{< /tab >}}
89-
{{< tab header="Install Network Explorer" lang="text" >}}
87+
{{< tab header="Install Network Explorer" lang="zsh" >}}
9088
helm install splunk-otel-collector \
9189
--set="splunkObservability.realm=$REALM" \
9290
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
@@ -111,7 +109,7 @@ You can monitor the progress of the deployment by running `kubectl get pods` whi
111109
Ensure the status is reported as Running before continuing.
112110

113111
{{< tabpane >}}
114-
{{< tab header="Kubectl Get Pods" lang="text" >}}
112+
{{< tab header="Kubectl Get Pods" lang="sh" >}}
115113
kubectl get pods
116114
{{< /tab >}}
117115
{{< tab header="Kubectl Get Pods Output" lang="text" >}}
@@ -126,7 +124,7 @@ Ensure there are no errors by tailing the logs from the OpenTelemetry Collector
126124
Use the label set by the `helm` install to tail logs (You will need to press `ctrl+c` to exit). Or use the installed `k9s` terminal UI for bonus points!
127125

128126
{{< tabpane >}}
129-
{{< tab header="Kubectl Logs" lang="text" >}}
127+
{{< tab header="Kubectl Logs" lang="sh" >}}
130128
kubectl logs -l app=splunk-otel-collector -f --container otel-collector
131129
{{< /tab >}}
132130
{{< tab header="Kubectl Logs Output" lang="text" >}}
@@ -146,7 +144,7 @@ kubectl logs -l app=splunk-otel-collector -f --container otel-collector
146144
{{% alert title="Deleting a failed installation" color="danger" %}}
147145
If you make an error installing the OpenTelemetry Collector you can start over by deleting the installation using:
148146

149-
``` text
147+
``` sh
150148
helm delete splunk-otel-collector
151149
```
152150

@@ -165,7 +163,7 @@ Under **Containers** click on **Kubernetes** to open the Kubernetes Navigator Cl
165163
Validate that your cluster is discovered and reporting by finding your cluster (in the workshop you will see many other clusters). To find your cluster name run the following command and copy the output to your clipboard:
166164

167165
{{< tabpane >}}
168-
{{< tab header="Echo Cluster Name" lang="bash" >}}
166+
{{< tab header="Echo Cluster Name" lang="sh" >}}
169167
echo $(hostname)-k3s-cluster
170168
{{< /tab >}}
171169
{{< /tabpane >}}

content/en/oncall/docs/getting_started/routing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Your welcome e-mail informed you of the details of your EC2 Instance that has be
2323
The e-mail also contained the Hostname of the Instance, but you can also obtain it from the Instance directly. To get your Hostname from within the shell session connected to your Instance run the following command:
2424

2525
{{< tabpane >}}
26-
{{< tab header="Export Hostname" lang="bash" >}}
26+
{{< tab header="Export Hostname" lang="sh" >}}
2727
echo ${HOSTNAME}
2828
{{< /tab >}}
29-
{{< tab header="Example Output" lang="bash" >}}
29+
{{< tab header="Example Output" lang="text" >}}
3030
zevn
3131
{{< /tab >}}
3232
{{< /tabpane >}}

content/en/rum/docs/setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We have created a RUM Token specifically for this workshop with the appropriate
3030
Create the `RUM_TOKEN` environment variable to use in the proceeding shell script to personalize your deployment.
3131

3232
{{< tabpane >}}
33-
{{< tab header="Export Variables" lang="bash" >}}
33+
{{< tab header="Export Variables" lang="sh" >}}
3434
export RUM_TOKEN=<replace_with_O11y-Workshop-RUM-TOKEN>
3535
{{< /tab >}}
3636
{{< /tabpane >}}
@@ -40,12 +40,12 @@ export RUM_TOKEN=<replace_with_O11y-Workshop-RUM-TOKEN>
4040
To deploy the Online Boutique application into K3s, run the apm config script, then apply the deployment:
4141

4242
{{< tabpane >}}
43-
{{< tab header="Deploy Online Boutique" lang="bash" >}}
43+
{{< tab header="Deploy Online Boutique" lang="sh" >}}
4444
cd ~/workshop/apm
4545
./apm-config.sh -r
4646
kubectl apply -f deployment.yaml
4747
{{< /tab >}}
48-
{{< tab header="Deployment Output" lang= "bash" >}}
48+
{{< tab header="Deployment Output" lang= "text" >}}
4949
deployment.apps/checkoutservice created
5050
service/checkoutservice created
5151
deployment.apps/redis-cart created

content/en/rum/showcase.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ menu:
55
docs:
66
weight: 3
77
---
8+
89
* Find the Web address of your workshop hosts Online Boutique
910
* Generate traffic by shopping for bargains on your workshop hosted Online Boutique web shop.
1011

@@ -32,7 +33,7 @@ We have created a RUM Token specifically for this workshop with the appropriate
3233
Create the `RUM_TOKEN` environment variable to use in the proceeding shell script to personalize your deployment.
3334

3435
{{< tabpane >}}
35-
{{< tab header="Export Variables" lang="bash" >}}
36+
{{< tab header="Export Variables" lang="sh" >}}
3637
export RUM_TOKEN=<replace_with_O11y-Workshop-RUM-TOKEN>
3738
{{< /tab >}}
3839
{{< /tabpane >}}
@@ -42,13 +43,13 @@ export RUM_TOKEN=<replace_with_O11y-Workshop-RUM-TOKEN>
4243
To deploy the Online Boutique application into your EC2 instance kubernetes (K3s) installation delete the original deployment, then run the apm config script for RUM, then apply the RUM deployment:
4344

4445
{{< tabpane >}}
45-
{{< tab header="Deploy Online Boutique with RUM" lang="bash" >}}
46+
{{< tab header="Deploy Online Boutique with RUM" lang="sh" >}}
4647
cd ~/workshop/apm
4748
kubectl delete -f deployment.yaml
4849
./apm-config.sh -r
4950
kubectl apply -f deployment.yaml
5051
{{< /tab >}}
51-
{{< tab header="Partial Deployment Output" lang= "bash" >}}
52+
{{< tab header="Partial Deployment Output" lang= "text" >}}
5253
......
5354
Adding RUM_TOKEN to deployment
5455
deployment.apps/recommendationservice created

content/ja/apm/docs/online-boutique/deploy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ isCJKLanguage: true
2222
Online BoutiqueアプリケーションをK3sにデプロイするには、以下のデプロイメントを適用します。
2323

2424
{{< tabpane >}}
25-
{{< tab header="Deploy Online Boutique" lang="bash" >}}
25+
{{< tab header="Deploy Online Boutique" lang="sh" >}}
2626
cd ~/workshop/apm
2727
./apm-config.sh
2828
kubectl apply -f deployment.yaml
2929
{{< /tab >}}
30-
{{< tab header="Deployment Output" lang= "bash" >}}
30+
{{< tab header="Deployment Output" lang= "text" >}}
3131
APM Only Deployment
3232
deployment.apps/recommendationservice created
3333
service/recommendationservice created
@@ -66,10 +66,10 @@ deployment.apps/rum-loadgen-deployment created
6666
Online Boutique アプリケーションが起動していることを確認するには:
6767

6868
{{< tabpane >}}
69-
{{< tab header="Get Pods" lang="bash" >}}
69+
{{< tab header="Get Pods" lang="sh" >}}
7070
kubectl get pods
7171
{{< /tab >}}
72-
{{< tab header="Get Pods Output" lang= "bash" >}}
72+
{{< tab header="Get Pods Output" lang= "text" >}}
7373
NAME READY STATUS RESTARTS AGE
7474
splunk-otel-collector-k8s-cluster-receiver-56585564cc-xclzj 1/1 Running 0 84s
7575
splunk-otel-collector-agent-hkshj 1/1 Running 0 84s

0 commit comments

Comments
 (0)