Giter VIP home page Giter VIP logo

openstatushq / openstatus Goto Github PK

View Code? Open in Web Editor NEW
5.9K 24.0 383.0 22.17 MB

🏓 The open-source synthetic monitoring platform 🏓

Home Page: https://openstatus.dev

License: GNU Affero General Public License v3.0

JavaScript 0.17% TypeScript 88.53% CSS 0.12% MDX 9.06% Dockerfile 0.08% Shell 0.01% Go 2.03%
observability open-source status-page nextjs13 turso tinybird clerk nextjs drizzle-orm monitoring

openstatus's Introduction

OpenStatus

The Open-Source performance monitoring platform.
Learn more »

Discord · Website · Issues · Roadmap

About OpenStatus 🏓

OpenStatus is open-source performance monitoring platform.

  • Synthetic monitoring: Monitor your website and APIs worldwide and receive notifications when they are down or slow.
  • Real User Monitoring: Understand how your users are experiencing your website with core web vitals metrics.

Recognitions 🏆

openstatusHQ%2Fopenstatus | Trendshift

Featured on Hacker News

Contact us 💌

If you are interested in our enterprise plan or need special features, please email us at [email protected] or book a call

Book us with Cal.com

Roadmap 🗺️

Here's our roadmap feel free to contribute to it.

Contributing 🤝

If you want to help us building the best status page and alerting system, you can check our contributing guidelines

Top Contributors

Made with Contrib.rocks

Stats

Alt

Tech stack 🥞

Built with Depot

Getting Started 🚀

Requirements

Setup

  1. Clone the repository

    git clone https://github.com/openstatushq/openstatus.git
  2. Install dependencies

    pnpm install
  3. Set up your .env file

    From apps/web and packages/db, you will find .env.example. Create your own copy.

  4. Follow the steps to run your sqlite database locally inside of README.md

  5. Start the development with the below command

     pnpm dev

    It will:

    • run the web app on port 3000
    • run the api server on port 3001
    • run the docs on port 3002
  6. See the results:

Tunnelmole, an open source tunnelling tool or ngrok, a popular closed source tunnelling tool.

Using Tunnelmole

  1. Install Tunnelmole with curl -O https://install.tunnelmole.com/384HK/install && sudo bash install. (On Windows, download tmole.exe)
  2. Run tmole 3000. In the output, you'll see two URLs, one HTTP, and an HTTPS URL. It's best to use the HTTPS URL for privacy and security.
➜  ~ tmole 3000
http://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:3000
https://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:3000

Videos

Videos to better understand the OpenStatus codebase:

openstatus's People

Contributors

adamkaram avatar amoabakelvin avatar arshkkk avatar arthurdotwork avatar atridadl avatar chadha93 avatar chronark avatar cskiwi avatar diogoribeirodev avatar dotarjun avatar elie222 avatar ff6k avatar frankievalentine avatar georgegebbett avatar ipriyankrajai avatar jaydenireland avatar kartikk-k avatar kishanprmr avatar lsmda avatar mxkaske avatar nabhag8848 avatar nkilm avatar ratnadeep2k avatar skushagra9 avatar thibaultleouay avatar turbobot-temp avatar vanxh avatar wilfredalmeida avatar zackrw avatar zahid47 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openstatus's Issues

500 error code randomly

Once in a while when I open farmako.openstatus.dev it throws a 500 error and then on refresh it starts working. It doesn't happen all the time. I wonder what it is, probably something related db?

[OPE-38] Notification System

Whenever a ping is not 200-299, we should send a notification to the user.

Before starting, we should make sure to have a stable API around that.

For each integration, we should have a mapping function from our API to the service one.

From SyncLinear.com | OPE-38

UI design bug on All main pages

When we resize window using button from top right between close and minimize, the background stays on the old position after switching to full screen again.

Pages: All pages

image

Noticed a small typo in the waitlist email

I noticed a small typo in the email I received after joining the waitlist. We are missing Y in the highlighted paragraph.

I know it's a small fix and I would have looked into repo, before creating this Issue, but I am on my phone and unable to do it properly.

Apologies, if I reported it in a wrong place 🙏.

image

Date handling on monitor and status page

First of all, the requests are working super well, awesome!

I've noticed most of the bugs like "data not showing" and related are due to how date is being handled.
When we access the monitor page it should pick the data from the current day, right now it is fetching from the previous day; if we set the date to today, it is possible to verify it. It also happens on the status page, only there we can't set the date to validate this issue.

Fix hero grammar

image

"OpenStatus is an open source alternative to your current monitoring service with beautiful status page.
should be
OpenStatus is an open source alternative to your current monitoring service with a beautiful status page.

Fix migrate script dont run

Should fix the tsconfig.ts to run the migrate script

As a quick fix run the migration with

Bun arc/migrate.ts

Invalid environment variables JITSU_HOST, JITSU_WRITE_KEY

Error Description:

When running the steps of the repository and using pnpm dev, I encounter the following error when trying to access localhost:3000:

web:dev: ❌ Invalid environment variables: { JITSU_HOST: [ 'Required' ], JITSU_WRITE_KEY: [ 'Required' ] }
web:dev: - wait compiling /_error (client and server)...
web:dev: - error ../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-core/dist/index.mjs (1:501) @ y
web:dev: - error Error: Invalid environment variables
web:dev:     at y (webpack-internal:///(rsc)/../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-core/dist/index.mjs:11:91)
web:dev:     at h (webpack-internal:///(rsc)/../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-core/dist/index.mjs:15:31)
web:dev:     at eval (webpack-internal:///(rsc)/../../packages/analytics/env.ts:9:72)
web:dev:     at (rsc)/../../packages/analytics/env.ts (/home/user/Documentos/openstatus/apps/web/.next/server/app/page.js:5960:1)
web:dev:     at __webpack_require__ (/home/user/Documentos/openstatus/apps/web/.next/server/webpack-runtime.js:33:42)
web:dev:     at eval (webpack-internal:///(rsc)/./src/env.ts:8:83)
web:dev:     at (rsc)/./src/env.ts (/home/user/Documentos/openstatus/apps/web/.next/server/app/page.js:3774:1)
web:dev:     at __webpack_require__ (/home/user/Documentos/openstatus/apps/web/.next/server/webpack-runtime.js:33:42)
web:dev:     at eval (webpack-internal:///(rsc)/./src/lib/tb.ts:7:62)
web:dev:     at (rsc)/./src/lib/tb.ts (/home/user/Documentos/openstatus/apps/web/.next/server/app/page.js:3785:1) {
web:dev:   digest: undefined
web:dev: }
web:dev: null

Error Explanation:

The error message indicates that there are invalid environment variables, specifically JITSU_HOST and JITSU_WRITE_KEY. The error seems to be occurring in the file env-core/dist/index.mjs from the @t3-oss/env-core package version 0.6.0 with TypeScript version 5.1.6 and Zod version 3.21.4. The specific line where the error is triggered is line 1, column 501 (1:501).

The error traceback suggests that the issue is related to the file analytics/env.ts at line 9, column 72, and the file src/env.ts at line 8, column 83. Additionally, there is a reference to src/lib/tb.ts at line 7, column 62.

analytics/env.ts content:

import { createEnv } from "@t3-oss/env-core";
import { z } from "zod";

export const env = createEnv({
  server: {
    JITSU_HOST: z.string(),
    JITSU_WRITE_KEY: z.string(),
  },
  runtimeEnv: {
    JITSU_HOST: process.env.JITSU_HOST,
    JITSU_WRITE_KEY: process.env.JITSU_WRITE_KEY,
  },
});

Steps Taken:

  1. Checked the .env file to ensure that JITSU_HOST and JITSU_WRITE_KEY are properly defined, but they seem to be correctly set.
  2. Verified the env.ts file and ensured that the variables are being imported and accessed correctly.

Expected Behavior:

When executing pnpm dev and accessing localhost:3000, the application should run without any errors related to invalid environment variables.

Additional Information:

Operating System: Ubuntu 22.04.2 LTS (Jammy Jellyfish)

Node.js Version: 18.16.0

pnpm Version: 8.6.10

Dynamically add blog links to sitemap

Description

Since all blog routes /blog/* are public it's better to include them in the sitemap to make the blogs easily discoverable on the web🚀

image

I'll open a PR fixing this issue.

GitHub OAuth?

Will there be a GitHub sign up option any time soon?

Invalid environment variables: { DATABASE_URL: [ 'Required' ] }

i'm trying to play with this project but i got this error

web:dev: - ready started server on 0.0.0.0:3000, url: http://localhost:3000
web:dev: ❌ Invalid environment variables: { DATABASE_URL: [ 'Required' ] }
web:dev: Error: Invalid environment variables
web:dev: at c (file:///C:/Users/Adam/openstatus-main/node_modules/.pnpm/@t3-oss[email protected][email protected][email protected]/node_modules/@t3-oss/env-core/dist/index.mjs:1:426)

i know it's related to env var but wich one i cant find tree of it or where's came from

aslo is there's any env file except this ?
Screenshot 2023-06-29 224936

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.