logseq-server-usage-stats

Collect and analyze Logseq db-sync server usage statistics.

44.4k|2.8k|Updated May 23, 2020
One-click install
npx skills add https://github.com/logseq/logseq --skill logseq-server-usage-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logseq-server-usage-stats
Source: https://github.com/logseq/logseq/tree/main/.agents/skills/logseq-server-usage-stats
Command: npx skills add https://github.com/logseq/logseq --skill logseq-server-usage-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive tools to collect, interpret, and troubleshoot server usage statistics for Logseq's db-sync server, enabling better understanding of user activity and system performance.

Core Features & Use Cases

  • Usage Data Collection: Executes scripts to gather metrics such as total users, active users, graphs, and creation stats.
  • Data Interpretation: Explains output metrics, clarifying data semantics and activity measurement methods.
  • Troubleshooting & Cost Analysis: Guides on troubleshooting command issues and evaluating Cloudflare/D1 costs related to server usage.
  • Use Case: A system administrator wants to review last month's active user counts and ensure the data collection scripts work correctly, then analyze potential cost impacts for scaling.

Quick Start

Run the usage stats command within the deps/db-sync directory to generate and understand server workload reports.

Frequently Asked Questions about logseq-server-usage-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect Logseq db-sync server usage statistics?

You need the pnpm package manager installed to run the scripts in the `deps/db-sync` directory. This environment setup allows you to execute commands that generate server workload reports and collect usage metrics.

What metrics are included in Logseq server usage stats?

Server usage stats include metrics such as total users, active users, graphs, and creation stats. The Skill helps interpret these output metrics by clarifying data semantics and the methods used for activity measurement.

How do I troubleshoot Logseq db-sync command issues?

Troubleshooting Logseq db-sync command issues involves using the Skill's guidance to identify and resolve execution errors. It ensures your data collection scripts run correctly to generate accurate server metrics.

How do I estimate Cloudflare and D1 costs for Logseq server usage?

You estimate Cloudflare and D1 costs by analyzing the collected Logseq server usage statistics. The Skill provides tools to evaluate potential cost impacts related to server usage and scaling.

Do I need pnpm to analyze Logseq db-sync server metrics?

Yes, pnpm is required to analyze Logseq db-sync server metrics. It executes the scripts in the `deps/db-sync` directory that generate and interpret the usage reports.