Eli Yukelzon
f4ccc7061c
MM-27199 - Add metrics to MM server for total enabled user count ( #15116 )
...
* Add metrics to MM server for total enabled user count and include installation ID from a new env var
* diagnostics context
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-07 09:26:25 -04:00
Doug Lauder
05f1f35a00
MM-22786 enterprise metrics for logging ( #15313 )
...
Adds metrics for logging engine which are collected by Prometheus.
- current queue level(s)
- rate of logging records emitted
- rate of logging errors
2020-09-01 10:29:29 -04:00
Agniva De Sarker
624980ff54
MM-25005: Remove HttpRequestsDuration bucket ( #14520 )
...
* MM-25005: Remove HttpRequestsDuration bucket
The ApiTimesHistograms already captures what HttpRequestsDuration does.
And it's more granular than that. So there's no need to duplicate stuff.
Let's remove this one.
* Updating resource class to xlarge
Co-authored-by: mattermod <mattermod@users.noreply.github.com >
Co-authored-by: Jason Deland <jaydeland@gmail.com >
2020-05-14 10:53:55 +05:30
Mario de Frutos Dieguez
aafea55976
MM-23131 Include HTTP status code in the metrics ( #14240 )
...
* ResponseWriter wrapper to get status code
For our metrics, we need the status code returned by a request
so this wrapper includes a new method StatusCode() that includes
the desired code
* Shadow the responsewriter variable in the handlers
In order to avoid confusion to people deciding what variable to use.
I've also changed the tests to reflect this change and added a new
one that checks the Flush method works
2020-04-14 14:15:00 +02:00
Mario de Frutos Dieguez
ee86413cdd
Include websocket users metric ( #14020 )
...
This commit adds new metrics to know the number of registered users
we have in every WebSocket broadcasts hub
2020-03-10 10:15:56 +01:00
Mario de Frutos Dieguez
75197d291a
Added Websocket's broadcast queue load metrics ( #13935 )
...
Now we send metrics when the websocket's broadcast queue receive or
consume a message from the queue
2020-02-28 11:44:56 +01:00
Ali Farooq
e4fb5791b0
MM-21626, MM-21627 - Plugin API/Hooks Prometheus instrumentati… ( #13825 )
...
* MM-21626,MM-21627 - Plugin API/Hooks Prometheus instrumentation
* Updated einterface mocks
* Fixed supervisor tests
* ignoring golint errors for plugin metrics wrappers
* Making golangci happy
* Using variadic form when generating wrapper code
* Removed artificial delay
* Removed comments from tests
* Renaming plugin wrappers to api/hooks_timer_layer
* updating vendor dir and mod files
* Recording plugin api/hook responses in prometheus
* Updated einterfaces-mocks
* Updating go sum
* Updating go sum
* Fixing conflicts
* More conflicts fixing
Co-authored-by: mattermod <mattermod@users.noreply.github.com >
2020-02-14 15:47:43 -05:00
Agniva De Sarker
11d15107b0
MM-21922: Add metrics for http verb ( #13679 )
...
* MM-21922: Add metrics for http verb
* Use multiple params
Co-authored-by: mattermod <mattermod@users.noreply.github.com >
2020-01-28 08:52:00 +05:30
Miguel de la Cruz
eb17f8436f
Modifies the interface to add search index metrics and initialises metrics first so it can be used from elasticsearch ( #13663 )
2020-01-23 17:10:36 +01:00
Jesús Espino
a63684fcb5
Consistent license message for all the go files ( #13235 )
...
* Consistent license message for all the go files
* Fixing the last set of unconsistencies with the license headers
* Addressing PR review comments
* Fixing busy.go and busy_test.go license header
2019-11-29 12:59:40 +01:00
Jesús Espino
e236eb74fa
Add prometheous metrics for each api handler ( #12254 )
2019-09-20 15:09:58 +02:00
Jesús Espino
e4582905ea
Time Layer for measure the Store methods calls time ( #11609 )
...
* Time Layer for measure the Store methods calls time
* Fixing build
* Fixing a formating problem
* Fixing tests
* generating store mocks
* Fixing build
* Updating generated timer layer
* Updating timer layer to the last store interface
* Updating timer layer
* Generating time layer
2019-08-01 22:10:58 +02:00
Joram Wilander
09c6770885
Add IncrementClusterEventType function to metrics interface ( #8728 )
2018-05-04 14:59:28 -07:00
Joram Wilander
4a1802c039
MM-9664 Add invalidation metrics for store caches ( #8340 )
...
* Add invalidation metrics for store caches
* Increment session invalidation metric
* Fix tests
2018-03-05 10:35:26 -05:00
George Goldberg
e8ca3d64f4
PLT-7470: Add metrics for searches. ( #7507 )
2017-09-25 13:44:44 -07:00
Chris
266ff86702
remove more global refs ( #7480 )
2017-09-21 10:13:34 +01:00
Corey Hulen
e62afeace0
Adding slow pump detection to web_conn and better metrics ( #6114 )
...
* Adding slow pump detection to web_conn and better metrics
* Fixing bad merge
* Fixing typo
2017-04-21 12:38:26 -04:00
Harrison Healey
fb6f2a123c
PLT-5860 Updated copyright date ( #6058 )
...
* PLT-5860 Updated copyright date in about modal
* PLT-5860 Updated copyright notice in JSX files
* PLT-5860 Updated copyright notice in go files
* Fixed misc copyright dates
* Fixed component snapshots
2017-04-12 08:27:57 -04:00
Corey Hulen
847c716ea2
Example of how to call metrics ( #5621 )
2017-03-06 10:15:37 -05:00
Christopher Speller
2a9c1afd44
Adding webhook metrics ( #5348 )
2017-02-10 07:05:12 -08:00
Joram Wilander
58dcf6984b
Add cluster request time logging for master ( #5347 )
2017-02-10 07:04:14 -08:00
Christopher Speller
9934954d18
Adding websocket event metrics ( #5342 )
2017-02-10 07:01:08 -08:00
Christopher Speller
96b4e0ed87
Adding metrics to cache for profile by ids api ( #4925 )
2017-01-03 11:57:38 -03:00
Christopher Speller
f96173528f
Adding metrics for caching mechanisms ( #4828 )
2016-12-19 10:16:22 -05:00
Corey Hulen
7961599b2e
PLT-4357 adding performance monitoring ( #4622 )
...
* WIP
* WIP
* Adding metrics collection
* updating vendor packages
* Adding metrics to config
* Adding admin console page for perf monitoring
* Updating glide
* switching to tylerb/graceful
2016-11-22 14:05:54 -05:00