File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Elastic APM
2
+
3
+ This application has been instrumented with Elastic APM.
4
+
5
+ In order to [ configure] ( https://www.elastic.co/guide/en/apm/agent/python/current/configuration.html ) this application environment variables should be
6
+ used in the configMap of the ` app.yaml ` file.
7
+
8
+
9
+ Custom instrumentation begins in the main method in ` st_app.py ` with the call
10
+
11
+ ```
12
+ client = Client()
13
+ client.begin_transaction('main_page')
14
+ ```
15
+ and ends with ` client.end_transaction('main_page') `
16
+
17
+ The sidebar menu and charts are instrumented with [ custom instrumentations] ( https://www.elastic.co/guide/en/apm/agent/python/current/api.html ) .
18
+
19
+
20
+ The ` display_sidebar ` has its internal functions instrumented
21
+ with the ` with ` notation.
22
+
23
+ The ` charts ` and ` display_header ` are instrumented with the ` annotation ` method.
You can’t perform that action at this time.
0 commit comments