Try   HackMD

Grafana 技巧 如何顯示固定時間區間的 Panel

1.進入 edit panel 中,找到 Query options 設定

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

2.將 Relative time 填入想要的時間範圍(從 now 往前推所填入的時間,s=秒 m=分 h=時 d=日)
註:可以填入 variable 讓 relative time 隨著 variable 的輸入而改變,不用進入 edit panel 修改

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

3.即可讓該 panel 不受右上角的 absolute time range 影響而變化

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

如果想將右上角的 Last XXX 關掉,把 Hide time info 打開就會消失了

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

tags: Grafana tips interval