Creating custom InfluxDB endpoints