Skip to content

Update Instructions

smilebasti edited this page Jun 20, 2023 · 5 revisions

The following is sectioned into the version changes.

Breaking changes are also listed in the release notes. All changes in the changelog.md

General Update

Use portainer and recreate the image using the option re-pull image.

docker-compose

docker-compose pull smilebasti/npmgrafstats
docker-compose up -d

Grafana dashboard update

See the release notes if the dashboard got updated.

If yes, then delete the old one and import the new one from the repository or use the Grafana ID 18826 and use the same data source as before.

Breaking changes

v2.3.0+

  • InfluxDB now saves Latitude and Longitude as latitude and longitude. This will ease future dashboard development. You won't be able to see old data points on the map in the new Dashboard and the other way round. (if you want to see the old data in the world map duplicate the query in the map panel in Grafana and set one of them to Latitude and Longitude
  • The Data source InfluxDB in Grafana now needs a default bucket (set to npmgrafstats to continue) This adds more possibilities in the future in InfluxDB #14

v2.1.1+

  • added environment variable to enable redirection logs (TRUE for Redirection and Proxy Logs, ONLY for Redirection Logs only and FALSE for only Proxy Logs.
  • moved GeoLite2-City.mmdb location into the ./geolite/ directory
  • Grafana Dashboard ID has changed to 18826