name: grafana
services:
  grafana:
    image: grafana/grafana:8.4.5
    deploy:
      resources:
        reservations:
          memory: 64M
    network_mode: bridge
    ports:
      - target: 3000
        published: "3000"
        protocol: tcp
    restart: always
    x-casaos:
      author: CasaOS Team
      category: Network
      container:
        index: /
        port_map: "3000"
        ports:
          - container: "3000"
            description:
              en_US: ""

      description:
        en_US: |
          Grafana open source is open source visualization and analytics software.Visualizations: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs. Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard. Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side. Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live. Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie. Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.
        zh_CN: |
          Grafana开源是开源可视化和分析软件。可视化：快速灵活的客户端图形，多种选项。面板插件提供了许多不同的方式来可视化指标和日志。动态仪表板：使用模板变量创建动态和可重用的仪表板，该变量在仪表板顶部显示为下拉菜单。探索指标：通过即席查询和动态钻取来探索您的数据。分割视图并将不同的时间范围，查询和数据源并排比较。探索日志：体验从指标到日志的魔力，保留标签过滤器。快速搜索所有日志或实时流。警报：以可视方式为您最重要的指标定义警报规则。 Grafana将不断评估并将通知发送到Slack，PagerDuty，VictorOps，OpsGenie等系统。混合数据源：在同一图中混合不同的数据源！您可以在每个查询的基础上指定数据源。这适用于甚至自定义数据源。
      developer: grafana
      icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Grafana/icon.png
      screenshot_link:
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Grafana/screenshot-1.png
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Grafana/screenshot-2.png
        - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Grafana/screenshot-3.png
      tagline:
        en_US: |
          Grafana is a complete observability stack that allows you to monitor and analyze metrics, logs and traces. It allows you to query, visualize, alert on and understand your data no matter where it is stored.
        zh_CN: |
          Grafana是一个完整的可观察性堆栈，允许您监视和分析指标，日志和跟踪。无论数据存储在何处，它都允许您查询，可视化，警报和理解数据。
      thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Grafana/thumbnail.png
      tips:
        before_install:
          en_US: |
            | username | password |
            | -------- | -------- |
            | `admin`    | `admin`    |
          zh_CN: |
            | 用户名 | 密码 |
            | -------- | -------- |
            | `admin`    | `admin`    |
      title:
        en_US: Grafana
x-casaos:
  architectures:
    - amd64
    - arm64
    - arm
  main_app: grafana
