Code Monkey home page Code Monkey logo

msgbyte / tianji Goto Github PK

View Code? Open in Web Editor NEW
1.3K 9.0 68.0 7.22 MB

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives

Home Page: https://tianji.msgbyte.com/

License: Apache License 2.0

HTML 0.04% JavaScript 0.82% TypeScript 96.22% CSS 0.48% Go 1.53% Dockerfile 0.16% MDX 0.04% Shell 0.41% Less 0.12% Smarty 0.17%
analytics docker google-analytics monitor self-hosted selfhosted server-status statistics umami uptime

tianji's People

Contributors

chobpt avatar cosark avatar gander avatar kingpin avatar moonrailgun avatar shinyzhu avatar yangchuansheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tianji's Issues

[FEATURE] User Consent for Monitoring Proposal

I think you could add something for yourself in this solution, like asking users if they agree to monitoring from the Sentry. For example, to collect information about how their apps work and if there are errors, which will also help in development. At the same time, this feature could be an option for users who don't want to give you this data but would like to use the information themselves and could use it to connect their own Sentry.

reporter auto install error in ubuntu18.04

when I install reporter in ubuntu18.04 server,I get follow error:
e1494cabe6c1c85aef6ec0d38a2c132

but in ubuntu22.04 or centos7,it works fine.

I cannot find /usr/lib/systemd/system in ubuntu18.04 server ,instead of /etc/systemd/system.

so I check tianji/scripts
/install.sh . when I update the path:service_conf=/etc/systemd/system/tianji-reporter.service,it works ok.

Enhancement Request: Uptime Module Proxy Support and Server Probe Module Grouping & Management Features

Dear Tianji Project Maintainers,

I am writing to suggest several enhancements for the Tianji project that I believe would greatly improve the functionality and user experience of the Uptime module and the Server probe module. Below are the proposed enhancements with their respective rationales.

Uptime Module Enhancements:

  1. Socks Proxy Support for Uptime Monitoring:
    • Feature: Add the ability to perform uptime checks through a Socks proxy, similar to the functionality offered by Uptime Kuma.
    • Rationale: This feature would be incredibly useful for monitoring services that are situated within internal networks. By routing requests through a Socks proxy, we can ensure that uptime monitoring covers services that are not directly accessible from the public internet, thereby providing a more comprehensive overview of service availability.

Server Probe Module Enhancements:

  1. Server Grouping Functionality:

    • Feature: Implement a grouping feature on the Servers page that allows users to categorize servers based on different projects or criteria.
    • Rationale: This will help in organizing and managing servers more efficiently, especially when dealing with multiple servers across various projects. It will enhance the user interface by allowing users to navigate and monitor servers in an orderly fashion.
  2. Editable Node Names and Server Information:

    • Feature: Enable the capability to edit server Node Names directly from the Servers page to increase recognizability.
    • Feature: Support adding remarks/tags to servers to log essential information such as billing dates or specific server details.
    • Rationale: These features will improve server identification and provide users with the ability to keep track of important server-related information conveniently within the platform.
  3. Network Interface Monitoring Selection:

    • Feature: Allow users to select which network interface(s) to monitor, with options including 'All', a specific interface, or multiple interfaces.
    • Rationale: This is particularly useful for servers with multiple network cards, as it would enable accurate tracking of the actual inbound and outbound traffic. Users can tailor the monitoring to their specific setup, ensuring that the traffic statistics reflect the true network usage.

I believe that these enhancements will significantly bolster the capabilities of the Tianji project, making it a more robust and user-friendly tool for server management and uptime monitoring. I hope you will consider these suggestions for future updates.

Thank you for your time and dedication to improving the Tianji project.


尊敬的 Tianji 项目维护者,

我写信是为了提出对 Tianji 项目的几项增强功能建议,我相信这些改进将大大提高 Uptime 模块和服务器探针模块的功能性和用户体验。以下是提出的增强功能及其各自的理由。

Uptime 模块增强功能:

  1. 通过 Socks 代理进行 Uptime 监控的支持:
    • 功能: 增加通过 Socks 代理执行 Uptime 检查的能力,类似于 Uptime Kuma 提供的功能。
    • 理由: 对于位于内部网络中的服务,此功能非常有用。通过代理请求,我们可以确保 Uptime 监控覆盖到公共互联网直接无法访问的服务,从而提供更全面的服务可用性概览。

服务器探针模块增强功能:

  1. 服务器分组功能:

    • 功能: 在服务器页面上实现分组功能,允许用户根据不同项目或标准对服务器进行分类。
    • 理由: 这将帮助用户更有效地组织和管理服务器,特别是在处理跨多个项目的多台服务器时。它将通过允许用户以有序的方式导航和监控服务器,增强用户界面。
  2. 可编辑的节点名称和服务器信息:

    • 功能: 允许直接在服务器页面上编辑服务器节点名称以提高识别度。
    • 功能: 支持为服务器添加备注/标签以记录重要信息,如账单日或特定服务器详情。
    • 理由: 这些功能将改善服务器识别,并为用户提供在平台内方便地跟踪重要服务器相关信息的能力。
  3. 网络接口监控选择:

    • 功能: 允许用户选择要监控的网络接口,选项包括“所有”、“特定接口”或“多个接口”。
    • 理由: 对于具有多个网络卡的服务器,这一点特别有用,因为它将使得准确追踪实际的入站和出站流量成为可能。用户可以根据自己的具体设置来定制监控,确保流量统计反映真实的网络使用情况。

我相信这些增强功能将显著加强 Tianji 项目的能力,使其成为一个更加健壮和用户友好的服务器管理和 Uptime 监控工具。我希望您能考虑这些建议以用于未来的更新。

感谢您投入时间和精力来改进 Tianji 项目。

[Bug] Stop/Start a Monitor will not work

if you manually stop a monitor and start it again, it will no longer update.
tianjo001

and it looks like the alarming over telegram is not working. i never got a down message (mail works).
(if i test the telegram bot, i get the test notification.)
I see this messages in the logs.

ok: false,
      error_code: 400,
      description: "Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding '\\'"
    }

or

data: {
      ok: false,
      error_code: 400,
      description: "Bad Request: can't parse entities: Character '-' is reserved and must be escaped with the preceding '\\'"
    }

...and there is a small typo when you stop a monitor ;) should be stopped
tianji002

Style Issue: Network Traffic Display Wrapping on Server Probe Page

I have encountered a visual styling issue on the Server Probe page that affects the readability and aesthetics of network traffic data. When the network traffic figures are too long, possibly due to a high number of digits, the text wraps onto the next line in an unappealing way. This not only disrupts the layout but also makes it difficult to quickly assess the traffic information at a glance.


我在服务器探针页面遇到了一个视觉样式问题,该问题影响了网络流量数据的可读性和美观性。当网络流量数字太长时(可能是因为位数过多),文本会以一种不美观的方式换行到下一行。这不仅打乱了布局,而且还使得用户难以快速一目了然地评估流量信息。

iShot_2024-01-25_23 45 22 iShot_2024-01-25_23 43 15

[Feature] Allow path in domain URL for host (without custom script)

Hello 👋

Currently when I add new monitor, the "Host" only allows domain name: example.com. I have domains which have specific endpoints for ping and healthcheck, like example.com/health and example.com/ping, but it currently states it's not a valid host.

image

I saw in the docs you can use "custom scripts", but it would be easier to add new monitor if the Host field also allows a path. Is this something that can be added?

[Feature/Bug] Allow change script filename

The tracker.js file may be on the blacklist of Ad-block solutions. If you could call it your own name, it would reduce the chances of detection. You could even do something like the JS Loader SDK in Sentry, the file name already conveys the tracking code identifier.

Support ipv6

Hello, what I observed is that the monitoring system does not have the ability to connect via ipv6. Also, I made the necessary settings for docker for ipv6. Everything works correctly in uptime kuma, but not in this script.

Port issue

After installed in docker from which port i can able to open the web browser? because default port is showing 12345:12345.

Feature: Webhook Notification

How about adding a simple Webhook Notification? Nothing fancy, just a URL which is requested with GET on a a "try once, fail/success once" basis. For safety, basic auth would't be hard to add as well.

This could trigger some external automation an event on a gateway, home automation or such.

[CAUTION] Support wider range of browsers

A proposal not to use the newer language syntax without polyfill, or to protect against exceptions. My Sentry got an error from the Umami script. On Chrome 83, an exception occurred with a missing formal parameter error. I haven't had this happen with tianji yet, but since you're taking a cue from Umami, I'm letting you know that I've had this happen and that you should be careful about supporting only newer browsers.

umami-software/umami#2621

monitor icon/logo

Hi,

please give us the possibility to add an icon/logo to each monitor or page.

Thats what I am missing in UptimeKuma

realy nice app

[FEATURE] Adding a New Translation: Polish

How do I add a new language to this app? I mean, I know how to add it because I've seen the files and would add another file with my translation. But I don't know where the flags come from and whether you'll handle the flag or if I should provide it with the pull request (from where)?

[Question] Support MySQL

Hello 👋

Doe tianji support databases like MySQL besides Postgres? I can not seem to find any mention of it currently supporting other database types in the docs or docker compose example.

Thanks in advance.

[BUG] Translation missing and view issues

(1) Historical data not translated
(2) Select too short, suffixes not translated
obraz


Not translated buttons

obraz


(1) Not translated
(2) Some countries have 24-hour clock

obraz


(1) Not translated
(2) Use Input/textarea

obraz


(1) Error not translated
"Next" button not translated

obraz

[FEATURE] Servers Graph + Previous period

It would be great if server monitoring included information on all submitted statuses from the last day or even two days. This way, we could compare them because, while the current server state is nice and I really like it, it would be helpful to see how the load is distributed over time and compare it with the previous state.

This is exactly what I was looking for in Open Source solutions, not to install a huge machine that gives me server status info, but I would need a bit more of that info. And if it's not too troublesome, it could be turned on with an optional flag. Maybe not everyone needs this and doesn't need the info, because it can be a lot and take up space in the database. So this optional feature, for those who really need it, activated by a flag, would be super awesome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.