canarytrace / documentation

Plug’n'Play stack for testing and monitoring web applications from user perspective.
http://canarytrace.com
6 stars 0 forks source link

Prepare Kibana & Elasticsearch #120

Closed rdpanek closed 2 years ago

rdpanek commented 2 years ago
rdpanek commented 2 years ago

Elasticsearch & Kibana

RUM server store all data arrived via API into Elasticsearch into two indices.

Kibana is a web application and contains visualizations and Dashboard with aggregated metrics from RUM server.

*`c.rum.metrics-` index default view** Image

*`c.rum.metrics-` index sorted view** Image

*`c.rum.entries-` index default view** Image

*`c.rum.entries-` index sorted view** Image

rdpanek commented 2 years ago

How to setup Elasticsearch and Kibana

We prepared default settings for your Elasticsearch and Kibana, but you can make changes by according to your needs.

Supported version Elasticsearch and Kibana is 7.x.x

CONTAINER ID   IMAGE                                    COMMAND                  CREATED          STATUS          PORTS                              NAMES
42b4e2d62722   docker.elastic.co/kibana/kibana:7.17.3   "/bin/tini -- /usr/l…"   6 seconds ago    Up 4 seconds    0.0.0.0:5601->5601/tcp             kibana
e6ca2a768ec0   elasticsearch:7.17.3                     "/bin/tini -- /usr/l…"   12 seconds ago   Up 11 seconds   0.0.0.0:9200->9200/tcp, 9300/tcp   elasticsearch

Download Canarytrace RUM.postman_collection.json from Docker image with Canarytrace RUM docker run --rm -it --entrypoint /bin/mv -v $(pwd):/postman quay.io/canarytrace/rum:1.10 /opt/canary-rum/postman/ /postman/

Download settings for Kibana from Docker image with Canarytrace RUM docker run --rm -it --entrypoint /bin/mv -v $(pwd):/elastic_kibana quay.io/canarytrace/rum:1.10 /opt/canary-rum/elastic_kibana/ /elastic_kibana/

Import Postman collections into your Postman workspace Image

Create Environment with variables and values Image

Imported postman collections Image

Your Kibana and Elasticsearch are ready 👌

rdpanek commented 2 years ago

Kibana dashboard Canarytrace RUM

Image

Visualizations