-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #679 from Ahson-Shaikh/added-template-glances
Template Glances Added
- Loading branch information
Showing
5 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Output, Services } from "~templates-utils"; | ||
import { Input } from "./meta"; | ||
|
||
export function generate(input: Input): Output { | ||
const services: Services = []; | ||
|
||
services.push({ | ||
type: "app", | ||
data: { | ||
serviceName: input.appServiceName, | ||
source: { | ||
type: "image", | ||
image: input.appServiceImage, | ||
}, | ||
env: [`GLANCES_OPT=-w`].join("\n"), | ||
domains: [ | ||
{ | ||
host: "$(EASYPANEL_DOMAIN)", | ||
port: 61208, | ||
}, | ||
], | ||
mounts: [ | ||
{ | ||
type: "bind", | ||
hostPath: "/var/run/docker.sock", | ||
mountPath: "/var/run/docker.sock", | ||
}, | ||
], | ||
}, | ||
}); | ||
|
||
return { services }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: Glances | ||
description: | ||
Glances is a cross-platform, real-time system monitoring tool designed to | ||
offer a unified view of your system's performance and health. It provides an | ||
intuitive interface that displays critical information, including CPU usage, | ||
memory, disk I/O, network activity, and more. Built to work seamlessly on | ||
Linux, macOS, Windows, and ARM-based systems, Glances is highly extensible | ||
with plugins and supports remote monitoring via a web-based UI or API. With | ||
its open-source foundation, Glances ensures transparency and flexibility, | ||
making it a perfect choice for individuals and teams looking for a lightweight | ||
yet powerful monitoring solution. | ||
instructions: | ||
To use Glances with Podman, you can mount a bind volume | ||
"/run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock". | ||
changeLog: | ||
- date: 2024-12-22 | ||
description: First Release | ||
links: | ||
- label: Website | ||
url: https://nicolargo.github.io/glances/ | ||
- label: Documentation | ||
url: https://glances.readthedocs.io/en/stable/ | ||
- label: GitHub | ||
url: https://github.com/nicolargo/glances | ||
contributors: | ||
- name: Ahson Shaikh | ||
url: https://github.com/Ahson-Shaikh | ||
schema: | ||
type: object | ||
required: | ||
- appServiceName | ||
- appServiceImage | ||
properties: | ||
appServiceName: | ||
type: string | ||
title: App Service Name | ||
default: glances | ||
appServiceImage: | ||
type: string | ||
title: App Service Image | ||
default: nicolargo/glances:latest-full | ||
benefits: | ||
- title: Real-Time System Monitoring | ||
description: | ||
Glances provides a detailed and real-time overview of system performance | ||
metrics, ensuring you stay informed about your system's health. | ||
- title: Cross-Platform Support | ||
description: | ||
Glances works seamlessly on Linux, macOS, Windows, and ARM-based systems, | ||
offering flexibility for diverse environments. | ||
- title: Extensible and Customizable | ||
description: | ||
With plugins and configuration options, Glances can be tailored to suit | ||
your specific monitoring needs. | ||
- title: Remote Monitoring | ||
description: | ||
Monitor systems remotely using the web interface, API, or third-party | ||
integrations. | ||
- title: Open Source and Transparent | ||
description: | ||
Glances is open source, ensuring users can audit, modify, and extend the | ||
tool as needed. | ||
features: | ||
- title: Unified Monitoring Dashboard | ||
description: | ||
Displays key performance metrics, including CPU, memory, disk usage, | ||
network traffic, and more, in a single view. | ||
- title: Remote Access | ||
description: Access Glances remotely using its web-based UI or RESTful API. | ||
- title: Threshold-Based Alerts | ||
description: | ||
Configure alerts based on thresholds to get notified about critical system | ||
issues in real-time. | ||
- title: Plugin Support | ||
description: | ||
Extend functionality with plugins for additional metrics or integrations | ||
with other tools. | ||
- title: Multi-Platform Integration | ||
description: | ||
Integrates with tools like Docker, Podman, and Kubernetes for container | ||
monitoring. | ||
tags: | ||
- System Monitoring | ||
- Real-Time Metrics | ||
- Open Source | ||
- Cross-Platform | ||
- Extensible |