Skip to content

Releases: smilebasti/npmGrafStats

v2.4.1

25 Feb 11:12
42e8a36
Compare
Choose a tag to compare

v2.4.1 Release of npmGrafStats

This release adds the ability to add AbuseIPDB data.

This feature is optional. There is a free API key for 1000 IP checks for free.
AbuseIPDB is a project dedicated to helping combat the spread of hackers, spammers, and abusive activity on the internet. Check the report history of any IP address to see if anyone else has reported malicious activities.

Thanks to @maxdd in #38 and with #39

Main Changes

  • added option to add AbuseIPDB data

All changes in the changelog.md file.

Update-Process

  1. If AbuseIPDB function is wanted: update docker-compose.yml and add to the environment variable ABUSEIP_KEY: "Your Key"
  2. pull the latest image and restart npmgrafstats

There is no new Grafana Dashboard. If you want to see the AbuseIPDB stats you have to create your on panel.

Full Changelog: v2.4.0...v2.4.1

v2.4.0

10 Dec 13:51
fc1e5de
Compare
Choose a tag to compare

v2.4.0 Release of npmGrafStats

This release adds the ability to add ASN data.

ASN lets you see the autonomous system number and autonomous system organization associated with IPv4 and IPv6 addresses. For example Amazon, Cloudflare or Telekom.

Thanks to @maxdd and #33

Main Changes

  • added option to add ASN data
  • second Grafana Dashboard version without filter #20121

All changes in the changelog.md file.

Update-Process

  1. If ASN function is wanted: update docker-compose.yml and add to geoipupdate GEOIPUPDATE_EDITION_IDS: 'GeoLite2-City GeoLite2-ASN' or add he GeoLite2-ASN.mmdb manually to the geolite directory.
  2. pull the latest image and restart npmgrafstats
  3. get the latest Grafana Dashboard (#18826 with filter, #20121 without filter)

Full Changelog: v2.3.2...v2.4.0

v2.3.2

30 Aug 14:40
b2d1b1d
Compare
Choose a tag to compare

v2.3.2 Release of npmGrafStats

This release adds the ability to filter in Grafana for specific Domains

Main Changes

  • made the image 80% smaller
  • added filter for single or multiple domains in the Grafana Dashboard (see #27)
  • added the container to the github container registry (ghcr.io) as alternative to docker hub (to use add ghcr.io/ in front of smilebasti/npmgrafstats:latest)
  • fix spelling in README

All changes in the changelog.md file.

Breaking changes!

Update-Process

  1. Replace the Grafana Dashboard with the new one! With ID #18826 or by downloading the npmGrafStats Map Dashboard Influx v2.3.json file manually.
  2. Optional: pull the latest (and smaller) image and restart npmGrafStats (Check tag changes!)

Full Changelog: v2.3.1...v2.3.2

v2.3.1

27 Jul 13:35
ad67bcd
Compare
Choose a tag to compare

v2.3.1 Release of npmGrafStats

This release fixes the problem of npmGrafStats stopping

Main Changes

  • fix stop working after some time #2 (close client connection and use tail -F instead of tail -f)
  • add github registry
  • add docker-compose restart: unless-stopped

For all changes see: changelog.md

Breaking changes!

  • None!

Update-Process

  1. pull the latest image and recreate npmgrafstats

v2.3.0

15 Jun 11:00
8466f85
Compare
Choose a tag to compare

v2.3.0 Release of npmGrafStats

This release adds ARM images and the ability to collect Internal and monitoring services Logs.

Main Changes

  • added arm/v7 and arm64 images (use v2.*-arm or latest-arm tag) see #11 Thanks @Gyarbij
  • added the ability to collect Internal and monitoring services Logs (Important! see wiki about this feature!) #14
  • added more panels in Grafana dashboard
  • fixed the timezone problem. Thanks @Im1Random on Reddit
  • cleaned up and fix the wiki #14 #17
  • removed the HOME_IPS variable as this is now gathered automatically (If you want to exclude an IP add them via the monitoringips.txt and set MONITORING_LOGS to FALSE) #15
  • InfluxDB now doesn't require npmgrafstats set as organization and bucket name anymore #14

See changelog.md for all changes.

Breaking changes!

  • 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 possibility in the future in InfluxDB #14

Update-Process

  1. Optional: INTERNAL_LOGS and MONITORING_LOGS variable (see wiki for more information)
  2. pull the latest image and restart npmgrafstats
  3. create a new Grafana Dashboard with the ID 18826 or download the file from the repository.

v2.2.1

03 Jun 10:22
f478d2b
Compare
Choose a tag to compare

v2.2.1 Release of npmGrafStats

This release adds the ability to only collect Redirection Logs and an exclusion list for IP's of monitoring services

Main Changes

  • added a variable option "ONLY" to REDIRECTION_LOGS if npm is only used for redirections
  • added the optional possibility to add an IP exclusion list for monitoring services

Breaking changes!

no breaking changes :)

Update-Process

  1. pull the latest image and recreate the container

If monitoring service IP's should be excluded from the Dashboard:

  1. Create a monitoringips.txt file with the IP's (one per line) that should be excluded
  2. mount the file as volume into the container (see installation process)
  3. pull the latest image and recreate the container

v2.2.0

31 May 16:31
5601fb7
Compare
Choose a tag to compare

Use log-timestamps for measurement

Use log-timestamps for measurement to get precise logs and prevent duplicate logs in case of a container restart.

Requested feature from: Festeazy/nginxproxymanagerGraf#4

See #7 for more info.

Upgrade

Pull the latest Image and recreate the Container.

No breaking changes!

v2.1.1

24 May 16:43
b1c2c20
Compare
Choose a tag to compare

v2.1.1 Release of npmGrafStats

This release adds the ability to collect Redirection Logs

Main Changes

  • added function to get redirection logs
  • better handling of internal IP's
  • fixed Grafana dashboard
  • cleaned up some unused stuff
  • added a full docker-compose file with NPM, npmGrafStats, InfluxDB2, Grafana and Portainer.
  • InfluxDB measurement name Redirections added for separated saved data

Breaking changes!

  • added environment variable to enable redirection logs
  • changed GeoLite2-City DB location to ./geolite/
  • Grafana Dashboard ID has changed to 18826

Update-Process

  1. create and move your GeoLite2-City DB into the geolite directory
  2. change Container environment variables (add REDIRECTION_LOGS)
  3. pull the latest image and restart npmgrafstats
  4. get the new Grafana Dashboard 18826