You can visualize data that you collect with OpenOps tables and display the visualizations in the Analytics view in OpenOps.

In addition to OpenOps tables, OpenOps Analytics can connect to and visualize your existing data sources, such as CSV files, Google Sheets, Postgres databases, and more.

Analytics admin portal

To configure data visualizations, you need to visit the Analytics admin portal outside of the main OpenOps application. The portal is available at the IP address of your OpenOps instance: http://your-ip/openops-analytics/

To sign in to the Analytics portal, use admin as the username and the password defined with the OPS_ANALYTICS_ADMIN_PASSWORD variable in the .env file in your OpenOps installation folder. (If you haven’t changed the password, the default is please-change-this-password-1.)

Once you log in, you can see two built-in dashboards: FinOps and Homepage. Modifying the FinOps dashboard will affect the Analytics tab in OpenOps.

Behind every OpenOps table, there is a Postgres database view that can be used to build charts and queries.

When a new table is created in OpenOps tables, the system automatically creates a new database view with the naming convention table name _ table id _ userfriendly. You can use this view to create dashboards in OpenOps, as well as connect it to other BI systems.

Building new charts

To configure a new chart to display in the Analytics view in OpenOps, do the following:

  1. Create a new dataset for the OpenOps table that you want to source data from. To do this, navigate to Datasets and click + Dataset. This will allow you to create a dataset on top of one of your OpenOps tables:
  2. After the dataset has been created, create a new chart by navigating to Charts and clicking + Chart:
  3. Configure your chart. Refer to this Superset documentation page if you need help.
  4. When saving the chart, add it to the FinOps dashboard: As a result, the chart will display in the Analytics view back in OpenOps:

For more information on how to create charts, see Superset documentation.

Connecting to external data sources

Here’s what you can do to connect OpenOps Analytics to external data sources such as CSV files:

  1. In the Analytics admin portal, go to Settings > Database Connections.
  2. Click on + Database to connect to an external data source, such as your own Postgres instance or Google Sheets.
  3. Once you have created a database connection, if you’d like to upload CSVs to it, click the Edit icon for the database connection:
  4. In the popup that displays, go to Advanced > Security, scroll down, and enable Allow file uploads.
  5. Click Finish. As a result, you should now be able to upload CSV files into your database:

You can now build charts based on the data from your external data source, similar to how you do it with OpenOps tables. When you add charts to the FinOps dashboard, they become available in the Analytics view in OpenOps.

Feel free to join our Slack community if you have any questions or need help with your installation.