Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-built Grafana+InfluxDB Apptainer image for ifarm2401 #62

Open
4 tasks
cissieAB opened this issue Jan 13, 2025 · 0 comments
Open
4 tasks

Pre-built Grafana+InfluxDB Apptainer image for ifarm2401 #62

cissieAB opened this issue Jan 13, 2025 · 0 comments
Assignees

Comments

@cissieAB
Copy link
Collaborator

cissieAB commented Jan 13, 2025

The difficulty is to setup and synchronize the runtime InfluxDB & Grafana authorization/credentials upon every call.

Assume the InfluxDB is running on port 42900 (specified) and the Grafana is running on port 8086 (default).
We need:

  • All InfluxDB credentials are preset in a .yml/.ini file on ifarm2401. Ideally it should not be checked to Github for security considerations. This was in influxdb_setenv.bash but should be added into more items such as the measurements (for InfluxDB line protocol) name.
  • An Apptainer image that has Grafana and InfluxDB instances. The InfluxDB is configured according to the above credential. The Grafana is configured with some .init/.yml file that goes with the image. The InfluxDB data source is pre-configured and saved to some *.yml (probably) file.
  • A preset Grafana json dashboard file (*.json) also goes into the Apptainer image, so when the user launches the Grafana, she does not need to configure the dashboard from the very beginning. Start the dashboard setting with the time range as last 10 mins.
  • The above Grafana dashboard has the desired Flux queries, which means it needs a data generator to send fake metrics to InfluxDB. The names of the metrics should be widely used.

All the above does not need the sqlite3db nodes and can be test solely on ifarm2401.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant