Skip to content

Commit 1608149

Browse files
Merge pull request #70 from com-pas/58-contributing-frontend-monitoring
fix: removing extra trailing space in titles
2 parents c8c36f8 + b3f9fc7 commit 1608149

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/MONITORING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
3. [References](#3-references)
77

88

9-
## Frontend monitoring <a name="introduction"></a>
9+
## Frontend monitoring<a name="introduction"></a>
1010
This section suggests an approach for using Elastic's Real User Monitoring (RUM) in order to capture user interactions with our client-side application CoMPAS-OpenSCD. The following instructions assume you/your organization already count on a hosted Elasticsearch Service deployment or an Elastic Cloud organization account with Kibana as the frontend of your monitoring stack and a URL to access it. Also it is assumed that you deploy `compas-open-scd` by using Kubernetes (and [the compas-open-scd docker public docker image](https://hub.docker.com/r/lfenergy/compas-open-scd) or your own generated image).
1111

12-
### 1. Getting your APM Server URL <a name="server-url"></a>
12+
### 1. Getting your APM Server URL<a name="server-url"></a>
1313
Navigate to your Kibana URL and select the space that you would like to associate with your frontend app (default if you don't have several spaces in Kibana). Then open the drawer menu and navigate to `APM`:
1414

1515
![Navigation instructions to APM in Kibana](/docs/public/kibana-screenshot-1.png)
@@ -26,7 +26,7 @@ There are two suggested code blocks for setting up the RUM Agent, find in any of
2626

2727
*Note: You have two options for getting your init script, you either install the `@elastic/apm-rum` dependency in your project or you set up the agent with `<script>` tags. In this document we will describe an approach for the latter.*
2828

29-
### 2. Using the /public/init-js script <a name="init-js"></a>
29+
### 2. Using the /public/init-js script<a name="init-js"></a>
3030

3131
The __compas-open-scd__ project features a reference to an "empty" javascript resource at `index.html` (line:42)
3232
```html
@@ -54,7 +54,7 @@ script.onload = function () {
5454
document.querySelector('head').appendChild(script);
5555
```
5656

57-
### 3. References <a name="references"></a>
57+
### 3. References<a name="references"></a>
5858

5959
* [Full documentation about APM Real User Monitoring JavaScript Agent](https://www.elastic.co/guide/en/apm/agent/rum-js/5.x/intro.html)
6060

0 commit comments

Comments
 (0)