[{"data":1,"prerenderedAt":114},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-en-greptimedb":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"marketplace-app-en-greptimedb",{"slug":9,"slugs":10,"categorySlugs":11,"name":16,"description":17,"phase":18,"unavailableReason":19,"docsUrl":20,"logo":21,"github":22,"tagline":23,"longDescription":24,"features":25,"useCases":32,"steps":42,"faq":58,"specs":71,"compatibleOs":82,"relatedApps":83,"relatedPosts":105,"category":109},"greptimedb",{"fr":9,"en":9,"ar":9,"es":9},{"fr":12,"en":13,"ar":14,"es":15},"bases-de-donnees","databases","قواعد-البيانات","bases-de-datos","GreptimeDB","Open-source observability database: metrics, logs and traces in one engine, queried with SQL and PromQL, on your VPS.",2,"awaiting_qa","https:\u002F\u002Fservorbit.com\u002Fblog\u002Fself-host-greptimedb-vps-observability-sql","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103400677","https:\u002F\u002Fgithub.com\u002FGreptimeTeam\u002Fgreptimedb","GreptimeDB — metrics, logs and traces in one database: SQL, PromQL, remote_write, OpenTelemetry and Grafana, on your VPS.","GreptimeDB is an open-source observability database (Apache-2.0 licensed) written in Rust. Where you would usually stack one store for metrics, another for logs and a third for traces, it keeps all three in a single columnar engine, and lets you query them with two languages you already know: SQL and PromQL.\n\nIt speaks the ecosystem's protocols: Prometheus `remote_write`, OpenTelemetry (OTLP\u002FHTTP) for metrics, logs and traces, the Loki push API, the InfluxDB line protocol and an SQL API over HTTP. Grafana queries it as a Prometheus data source. It ships with a web dashboard to write SQL or PromQL queries and explore tables, and its retention is set per database or per table with a single SQL statement.",[26,27,28,29,30,31],"Metrics, logs and traces — one columnar engine instead of three stores to maintain.","SQL and PromQL — joins, aggregates and windows in SQL; your existing PromQL queries work.","Prometheus-compatible — `remote_write` target and Prometheus query API, Grafana data source with no plugin.","Native OpenTelemetry — OTLP\u002FHTTP ingestion of metrics, logs and traces; Loki push API and InfluxDB line protocol.","Built-in dashboard — SQL and PromQL editor, table exploration, charts of the results.","Protected access — `admin` user and generated password, required on the whole HTTP API: queries and ingestion alike.",[33,36,39],{"title":34,"body":35},"One database for your observability","Send your services' metrics, logs and traces over OpenTelemetry to a single instance, and cross them in SQL: a route's errors, its latency and its traces in the same query.",{"title":37,"body":38},"Long-term storage for your Prometheus","Keep Prometheus for scraping and add a `remote_write` line pointing to GreptimeDB: Grafana queries months of history, and you can also analyse it in SQL.",{"title":40,"body":41},"Application events you can analyse in SQL","Push business counters or events (orders, sign-ups, response times) in InfluxDB or OTLP format, then analyse them in SQL from the dashboard or your code.",[43,46,49,52,55],{"title":44,"body":45},"Create the VPS and choose the address","Order an Ubuntu 24.04 VPS with 2 GB of RAM (4 GB and more disk if you centralise many services). GreptimeDB requires a domain: your servers send their data to it and Grafana queries it, so it must answer over HTTPS on a stable name. It opens on a subdomain of one of your domains, or on the VPS's free subdomain (greptimedb.{dns_slug}.servorbit-dns.com), HTTPS included. No need to buy a domain name.",{"title":47,"body":48},"Install GreptimeDB from the Marketplace","In your client area, select GreptimeDB, choose the address and click Install. The script deploys the official container in standalone mode, generates the `admin` user's password, enables authentication on the whole HTTP API, turns off the anonymous usage report and configures the nginx reverse proxy over HTTPS.",{"title":50,"body":51},"Log in for the first time","Open https:\u002F\u002Fyour-domain\u002Fdashboard\u002F, then enter the `admin` user and the password shown in your client area in the dashboard's connection settings. Run `SHOW TABLES;` in the SQL editor to check access.",{"title":53,"body":54},"Send your data","For Prometheus, add a `remote_write` block pointing to `https:\u002F\u002Fyour-domain\u002Fv1\u002Fprometheus\u002Fwrite?db=public` with `basic_auth`. For OpenTelemetry, point the OTLP\u002FHTTP exporter to `https:\u002F\u002Fyour-domain\u002Fv1\u002Fotlp` with an `Authorization: Basic` header; traces also require `X-Greptime-Pipeline-Name: greptime_trace_v1`, on a separate exporter. The same credentials work everywhere.",{"title":56,"body":57},"Connect Grafana","In Grafana, add a Prometheus-type data source with the URL `https:\u002F\u002Fyour-domain\u002Fv1\u002Fprometheus`, enable basic authentication and enter the same credentials. Your PromQL dashboards work unchanged.",[59,62,65,68],{"q":60,"a":61},"What is the difference between GreptimeDB and VictoriaMetrics?","VictoriaMetrics specialises in metrics and PromQL. GreptimeDB also covers logs and traces, and adds SQL: you can join, aggregate and filter your observability data as in a relational database. For Prometheus metrics storage alone, VictoriaMetrics is enough; to bring the three signals together in one database, GreptimeDB is the better choice.",{"q":63,"a":64},"Do I need a domain name for GreptimeDB?","Yes. Your servers send their metrics, logs and traces to it, and Grafana queries it: GreptimeDB must answer over HTTPS on a stable name. No need to buy one: every ServOrbit VPS comes with a free subdomain (greptimedb.{dns_slug}.servorbit-dns.com) with an HTTPS certificate. You can also use a subdomain of one of your domains.",{"q":66,"a":67},"How do I log in for the first time?","Open https:\u002F\u002Fyour-domain\u002Fdashboard\u002F and enter the admin user and the password shown in your client area in the connection settings. These credentials also protect the SQL API, the Prometheus API and ingestion: your agents and Grafana use them as basic authentication.",{"q":69,"a":70},"How long is my data kept?","Out of the box, nothing expires. Set retention in SQL from the dashboard, for example ALTER DATABASE public SET 'ttl'='90d' for the whole database, or a ttl option when creating a table. Size the disk accordingly: logs and traces take far more space than metrics.",{"ram":72,"cpu":73,"disk":74,"stack":75,"port":78,"license":79,"version":80,"os":81},"2 GB minimum","1 vCPU","20 GB",[76,77,16],"Docker","Rust","8110","Apache-2.0","v1.3.0","Ubuntu 24.04",[],[84,93,99],{"name":85,"slug":86,"categorySlug":87,"categoryName":88,"categoryColor":89,"logo":90,"tagline":91,"description":92},"Grafana","grafana","monitoring-observability","Monitoring & Observability","text-amber-400 bg-amber-500\u002F10","https:\u002F\u002Fcdn.simpleicons.org\u002Fgrafana","Visualize your infrastructure and application metrics — customizable dashboards and alerts.","Visualize the metrics of your infrastructure and applications. Customizable dashboards, multi-channel alerts, multiple sources.",{"name":94,"slug":95,"categorySlug":87,"categoryName":88,"categoryColor":89,"logo":96,"tagline":97,"description":98},"Prometheus","prometheus","https:\u002F\u002Fcdn.simpleicons.org\u002Fprometheus","Real-time metric collection and querying — the de facto standard for modern monitoring.","Real-time metric collection and querying. The de facto standard for monitoring Kubernetes, Docker and microservices.",{"name":100,"slug":101,"categorySlug":87,"categoryName":88,"categoryColor":89,"logo":102,"tagline":103,"description":104},"VictoriaMetrics","victoriametrics","https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fselfhst\u002Ficons\u002Fsvg\u002Fvictoriametrics.svg","VictoriaMetrics — keep your Prometheus metrics for months at low cost: PromQL, remote_write, the vmui interface and Grafana, on your VPS.","Open-source Prometheus-compatible time series database: compact storage, fast PromQL and MetricsQL queries, long retention on a small VPS.",[106,107,108],"opentelemetry-grafana-tempo-vps","loki-grafana-logs-centralises-vps","self-host-victoriametrics-vps",{"key":110,"slug":13,"name":111,"objective":112,"icon":110,"color":113},"database","Databases","Spin up a data platform quickly.","text-blue-400 bg-blue-500\u002F10",1793820416947]