Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Location and metric in different datasources #176

@erlfos

Description

@erlfos

Hi
I love the worldmap panel, and we find it very useful. We are now trying to use the worldmap panel to show metrics from basestations, but the basestation metrics and the location (long,lat) is in different datasources (MySQL for location and InfluxDB for metrics). I manage to combine the two queries to get a table panel with the metrics, long, lat, a Site ID (used for Location Name Field in World Map) from the MySQL DB, metrics from the InfluxDB and a LNBTS field used to combine the two queries into one table (it is found in both the MySQL DB and the InfluxDB):
image
image

In the World Map panel I can only manage to show the basestation locations if I insert a bogus metric value in the SQL query (I tried to use the same queries as above). World Map panel does not use the metric value in the InfluxDB query as I had hoped.
I guess World Map panel was not intended to be used in this way (separate datasources for location and metric), but I wonder if there might be a way around this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions