All notable changes to this project will be documented in this file.
- [bug] UX paths are not properly resolved #91
- [feature] Restify support #86
- [bug] Natives package has been deprecated - removed #81
- [bug] openapi3 basePath was removed #81
New option
basePath
allows to specify base path as needed when Openapi 3.0 spec is used.
- [feature] New User eXperience is enabled at
/swagger-stats/ux
New UX is optional and can be used in parallel with leagcy UI. Will keep it optional for several releases, and then make default. Send your feedback !
- [feature] Support for Fastify Framework #62
- [bug] Duration buckets not being used for Prometheus #72
- [feature] Share promClient with parent by exposing or using peerDependencies #61
- [feature] Prefix metrics on /metrics endpoint #50
- [bug] Removed dependency on Inert when using with Hapi #79
-
[feature] Hapijs support #75 - Example how to use
-
[bug] Cannot upload to elk and Built-In API Telemetry #46
-
[bug] Last Errors and Errors tab no populated using FeatherJS #42
-
[bug] Request Content Length null or undefined #40
-
[feature] Allow onAuthenticate to be asynchronous #31
-
[feature] Prevent tracking of specific routes #36
-
[feature] Support for extracting request body #38
Thanks to DavisJaunzems!
- [feature] Elasticsearch support #12
swagger-stats now supports storing details about each API Request/Response in Elasticsearch, so you may use Kibana to perform analysis of API usage over time, build visualizations and dashboards.
Example Kibana dashboards provided in dashboards/elastic6
-
[feature] Apdex score #10
-
[feature] Support Authentication for /stats and /metrics #14
-
[feature] Add label "code" to Prometheus histogram metrics #21
See updated dashboard at Grafana Dashboards
- [bug] Can't start on node v7.10.1, Mac Os 10.12.6 #22
- [feature] Support providing Prometheus metrics via prom-client library #20
- [feature] OnResponseFinish hook: pass request/response record to callback so app can post proceses it add it to the log #5
- [feature] Option to specify alternative URI path for ui,stats and metrics #17
app.use(swStats.getMiddleware({
uriPath: '/myservice',
swaggerSpec:swaggerSpec
}));
$ curl http://<your app host:port>/myservice/stats
- [feature] Added new chart to API Operation Page #16
- handle time histogram
- request size histogram
- response size histogram
- response codes counts
- [feature] Added Prometheus metrics and Grafana dashboards #9
- [feature] Added CPU and Memory Usage Stats and monitoring in UI #8