code: def user_post_save_handler(**kwargs):
      
      if kwargs.get('created'):
          total = get_user_model().objects.all().count()
          data = [{
              'measurement': 'django_auth_user_create',
              'tags': {'host': settings.INFLUXDB_TAGS_HOST, },
              'fields': {'value': 1, },
              'time': timezone.now().isoformat(),
          }]
          write_points(data)
  
          data = [{
              'measurement': 'django_auth_user_count',
              'tags': {'host': settings.INFLUXDB_TAGS_HOST, },
              'fields': {'value': total, },
              'time': timezone.now().isoformat(),
          }]
          write_points(data)
docs: Sends a metric to InfluxDB when a new User object is created.