Skip to content

monoscope-tech/monoscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Monoscope Logo

Open-source monitoring and observability platform that understands your systems

Monoscope lets you ingest and explore your logs, traces and metrics in S3 buckets. Query in natural language via LLMs. Monoscope also let's you create AI agents that run at an interval to automatically detect anomalies in your logs, metrics, and traces. The most important actions and logs and insight are sent as reports to your email every day or week.

GitHub Release License Haskell Discord

Website β€’ Discord β€’ Twitter β€’ Changelog β€’ Documentation


Monoscope Dashboard

Monoscope automatically detects anomalies in your logs, metrics, and traces using AI β€” no configuration required.

πŸš€ What is Monoscope?

Monoscope is an open-source observability platform that uses artificial intelligence to understand and monitor your systems automatically. Unlike traditional monitoring tools that require extensive configuration and generate overwhelming alerts, Monoscope learns your system's normal behavior and only alerts you when something is genuinely wrong.

Key Capabilities

  • Universal Data Ingestion: Native support for OpenTelemetry means compatibility with 750+ integrations out of the box
  • AI-Powered Understanding: Our LLM engine understands context, not just thresholds
  • Natural Language Interface: Query your data in plain English
  • Cost-Effective Storage: Store years of data affordably with S3-compatible object storage
  • Zero Configuration: Start getting insights immediately without complex setup

πŸ› οΈ Quick Start Installation

# Run with Docker (recommended)
docker run -p 8080:8080 monoscope/monoscope:latest

# Or clone and run locally
git clone https://github.com/monoscope-tech/monoscope.git
cd monoscope
docker-compose up

Visit http://localhost:8080 to access Monoscope. Full installation guide β†’

πŸ“Š Ingesting Logs, Metrics & Traces

Monoscope is built on OpenTelemetry, the industry-standard observability framework. This means you get instant compatibility with 750+ integrations including all major languages, frameworks, and infrastructure components.

Supported Data Types

  • Logs: Application logs, system logs, audit trails
  • Metrics: Performance counters, business KPIs, custom metrics
  • Traces: Distributed request flows, latency tracking, dependency mapping

Quick Integration Examples

# For Python applications
pip install opentelemetry-api opentelemetry-sdk
export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:8080"

# For Node.js applications
npm install @opentelemetry/api @opentelemetry/sdk-node
export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:8080"

# For Kubernetes clusters
helm install opentelemetry-collector open-telemetry/opentelemetry-collector \
  --set config.exporters.otlp.endpoint="monoscope:8080"

Monoscope automatically correlates logs, metrics, and traces from the same service, giving you a complete picture of your system's behavior. No manual correlation or configuration required.

πŸ€– AI Anomaly Detection

Monoscope's AI engine continuously learns your system's normal behavior patterns and automatically alerts you to genuine issues:

  • Context-Aware Detection: Understands that high CPU during deployments is normal, but high CPU at 3 AM is not
  • Seasonal Pattern Recognition: Learns daily, weekly, and monthly patterns in your data
  • Cross-Signal Correlation: Detects anomalies by analyzing logs, metrics, and traces together
  • Noise Reduction: Reduces alert fatigue by 90% compared to threshold-based monitoring

The AI runs continuously in the background, requiring no configuration or training from you.

πŸ’¬ Natural Language Search

Query your observability data using plain English instead of complex query languages:

Example Queries

  • "Show me all errors in the payment service in the last hour"
  • "What caused the spike in response time yesterday at 3 PM?"
  • "Which services are consuming the most memory?"
  • "Find all database queries taking longer than 1 second"

Monoscope translates your natural language into optimized queries across logs, metrics, and traces, returning relevant results with explanations.

🎯 Key Features

πŸ€– AI-Powered Anomaly Detection

LLM-based engine that understands context and identifies real issues, not just threshold violations

πŸ’¬ Natural Language Queries

Search logs and metrics using plain English - no complex query languages required

⚑ Built for Scale

Handle millions of events/sec with our custom TimeFusion storage engine

πŸ’° Cost-Effective Storage

Store years of data affordably with S3-compatible object storage

πŸ“Έ Screenshots

Log Explorer View 1

Log Explorer - Main View

Log Explorer View 2

Log Explorer - Detailed View

Dashboard View

Dashboard Analytics

Monoscope Logo

Monoscope - Open Source Observability

πŸ—οΈ Architecture Overview

Monoscope combines high-performance data ingestion with intelligent AI analysis:

graph LR
    A[Your Apps] -->|Logs/Metrics| B[Ingestion API]
    B --> C[TimeFusion Engine]
    C --> D[S3 Storage]
    C --> E[LLM Pipeline]
    E --> F[Anomaly Detection]
    F --> G[Alerts & Dashboard]
Loading
  • Language: Built in Haskell for reliability and performance
  • Storage: S3-compatible object storage for cost-effective retention
  • AI Engine: State-of-the-art LLMs for intelligent analysis
  • Scale: Horizontally scalable architecture

🌟 Why Monoscope?

The Problem

Traditional monitoring tools require extensive configuration, generate overwhelming alerts, and still miss critical issues. You spend more time managing your monitoring than actually using it.

Our Solution

Monoscope uses AI to understand your system's behavior, automatically detect anomalies, and provide actionable insights - all without complex configuration.

Who Uses Monoscope?

  • DevOps Teams reducing alert fatigue by 90%
  • SREs catching issues before they impact users
  • Engineering Leaders getting visibility across complex systems
  • Startups implementing enterprise-grade observability on a budget

πŸ“š Documentation


Features

  • πŸ€– AI-Powered Anomaly Detection: Leverages LLMs to automatically identify and alert on unusual patterns
  • ☁️ S3-Compatible Storage: Store logs, metrics and traces in any S3-compatible object storage
  • πŸš€ High Performance: Written in Haskell and rust for reliability and performance
  • πŸ“ˆ Real-Time Analytics: Monitor your systems with minimal latency
  • πŸ”Œ Extensible: Easy to integrate with existing monitoring infrastructure

Getting Started

Tutorials

πŸ› οΈ Installation

Prerequisites

Prerequisites

Before installing Monoscope, ensure you have the following dependencies:

  • Haskell: Install via GHCup
  • PostgreSQL with TimescaleDB: For time-series data storage
  • LLVM: Required for compilation
  • Google Cloud SDK: For GCP integration (if using GCP)

Installation

  1. Install Haskell via GHCup
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
  1. Clone the Repository
git clone https://github.com/monoscope-tech/monoscope.git
cd monoscope
  1. Install System Dependencies

For macOS:

# Install LLVM
brew install llvm

# Install PostgreSQL with TimescaleDB
brew install postgresql
brew install timescaledb

# Install libpq
brew install libpq

For Linux (Ubuntu/Debian):

# Install LLVM
sudo apt-get install llvm

# Install PostgreSQL and TimescaleDB
# Follow instructions at: https://docs.timescale.com/install/latest/

# Install libpq
sudo apt-get install libpq-dev
  1. Configure Google Cloud (Optional)

If using Google Cloud integration:

gcloud auth application-default login
  1. Run Monoscope
stack run
Development Setup

Development Setup

Database Setup with Docker

  1. Create a Docker volume for PostgreSQL data:
docker volume create pgdata
  1. Run TimescaleDB in Docker:
make timescaledb-docker
  1. Configure pg_cron extension:

Add the following to your PostgreSQL configuration:

ALTER system SET cron.database_name = 'apitoolkit';
ALTER system SET shared_preload_libraries = 'pg_cron';

Then restart the TimescaleDB Docker container.

Development Tools

Install code formatting and linting tools:

# Code formatter
brew install ormolu

# Linter
brew install hlint

Useful commands:

# Format code
make fmt

# Run linter
make lint

πŸ’‘ Tip: For better IDE support, compile Haskell Language Server locally to avoid crashes, especially on macOS. See issue #2391.

Service Worker

To build the service worker:

workbox generateSW workbox-config.js

πŸ§ͺ Testing

Running Tests

Run all tests

make test
# OR
stack test --ghc-options=-w

Run only unit tests

Unit tests don't require a database connection and run much faster. They include doctests and pure function tests.

make test-unit
# OR
stack test apitoolkit-server:unit-tests --ghc-options=-w

Run unit tests with file watching for development

make live-test-unit
# OR
stack test apitoolkit-server:unit-tests --ghc-options=-w --file-watch

Run a specific individual test

stack test --test-arguments "--match=SeedingConfig" apitoolkit-server:tests
# OR
stack test --ta "--match=SeedingConfig" apitoolkit-server:tests

🀝 Community

  • πŸ’¬ Discord - Chat with users and contributors
  • πŸ› Issues - Report bugs or request features
  • 🐦 Twitter - Follow for updates
  • πŸ“ Blog - Tutorials and case studies

🌍 Contributing

We welcome contributions to Monoscope! Please feel free to:

  • Report bugs and request features via GitHub Issues
  • Submit pull requests for bug fixes and new features
  • Improve documentation and examples
  • Share your use cases and feedback

Before contributing, please read our contributing guidelines and ensure your code passes all tests and linting checks.

πŸ“„ License

Monoscope is open source software. Please see the LICENSE file for details.

πŸš€ Roadmap

  • Kubernetes Operator
  • Terraform Provider
  • Mobile App
  • Distributed Tracing Support
  • Custom ML Model Training

See our public roadmap for more details.

πŸ† Comparisons

Feature Monoscope Datadog Elastic Prometheus
AI Anomaly Detection βœ… Built-in ❌ Add-on ❌ ❌
Natural Language Search βœ… ❌ ❌ ❌
Cost-Effective Storage βœ… S3 ❌ Proprietary βœ… βœ…
No Configuration Alerts βœ… ❌ ❌ ❌
Open Source βœ… ❌ βœ… βœ…

Ready to transform your observability?

Star on GitHub
Built with ❀️ by the Monoscope team

About

Monoscope lets you ingest and explore your logs, traces and metrics. We store these in S3 compatible buckets. Query in natural language via LLMs.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 11