How to use different visualization in same query(or a duplicate query) in same panel?

  • What Grafana version and what operating system are you using?
    9.0.6
  • What are you trying to achieve?
    i have a metrics which the latency from my host to a host.
    such as
# HELP connect_to_google the latency of http get google.com. uint ms. 0 means timeout
# TYPE connect_to_google gauge
connect_to_google{host = "kuku" } 171.94

base on this metrics i want visualize

  1. the latency change over time which could be done via time series chart.
  2. the health state of this host, it may be done via state timeline chart. im not sure about it.

but i still don’t how to achieve or could it be achieved.
i alose noticed that stat chart have a option to enable the sparkline mode. which seem exactly what i want to archieve. it combine stat chart and a time series chart in same panel.
but im not sure could it be done in other combination.