hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

HASTIC_API_KEY and other env names review #817

Open jonyrock-back opened 4 years ago

jonyrock-back commented 4 years ago

We have in the config env variable HASTIC_API_KEY which is used to quering only Grafana. I am asking to review the name of this variable. Maybe HASTIC_GRAFANA_API_KEY ?

jonyrock commented 4 years ago

I propose HS_GRAFANA_KEY const, which will actually become hastic-datasource-specific connection variable

rozetko commented 4 years ago

Let's change prefixes in all variables then? HASTIC_ -> HS_

jonyrock commented 4 years ago

@rozetko yeap

jonyrock commented 4 years ago

@rozetko also would be great to add HS_SR_* for all related to hastic-server and HS_AL_* for everything specific for analytics