Skip to content

Commit

Permalink
fixes bug 1382210 - Remove metricsapp (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bengtsson committed Jul 28, 2017
1 parent aec495e commit 42a0e4a
Show file tree
Hide file tree
Showing 20 changed files with 14 additions and 6,065 deletions.
30 changes: 0 additions & 30 deletions docs/dev.rst
Expand Up @@ -215,36 +215,6 @@ You might want to temporarily edit ``.env`` and set ``DJANGO_DEBUG=False``
to run it in a more production realistic way.


Development Metrics for Symbolication
=====================================

When you run the server in development mode, it's configured to log every
cache miss and cache hit, not only to ``statsd`` but also storing it
in the cache framework. This makes it possible to query the metrics
insight view:

.. code-block:: shell
$ curl http://localhost:8000/symbolicate/metrics
That gives you numbers about what the metrics are up to right now.

The best way to visualize this is to start the ``metricsapp`` which
is a simple single-page-app that reads this above mentioned URL
repeatedly and draws graphs. It also helps you understand how the
LRU cache works.

To start the ``metricsapp`` do:

.. code-block:: shell
$ cd metricsapp
$ yarn # Only needed the first time!
$ yarn start
Then go to ``http://localhost:3000/`` and keep watching it as you
do more and more symbolication requests locally.

Manual Integration Testing for symbolication
============================================

Expand Down
32 changes: 0 additions & 32 deletions metricsapp/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions metricsapp/package.json

This file was deleted.

Binary file removed metricsapp/public/favicon.ico
Binary file not shown.
31 changes: 0 additions & 31 deletions metricsapp/public/index.html

This file was deleted.

41 changes: 0 additions & 41 deletions metricsapp/src/App.css

This file was deleted.

0 comments on commit 42a0e4a

Please sign in to comment.