Prometheus long-term storage with remote write

Local Prometheus storage is single-node and keeps data for 15 days by default. This page explains how to send samples to an external long-term store with remote write, how to set retention and size it, and what remote read changes for queries.

On this page

Why Prometheus long-term storage with remote write needs its own design

If you need Prometheus metrics beyond the default 15-day local retention, for capacity planning, audit evidence or year-over-year comparison, the answer is not simply raising the retention setting. With remote write, Prometheus sends samples to an external store while local storage stays the query source for recent data. The external store then holds the history, and it becomes a critical dependency of your monitoring estate that needs its own owner, capacity plan and failure plan.

Local storage is a single-node time series database. The Prometheus storage documentation states it is not clustered or replicated and should be managed like any other single-node database. Remote write does not change that. Samples that fail to reach the remote store are queued and retried, but the queue is bounded, so a long outage or a misconfigured endpoint can lose data. Remote write is also not a backup of the local TSDB: it ships a stream of samples, not a restorable copy of blocks, and it does not carry your rules, configuration or Alertmanager state.

Prometheus values reliability over precision, so plan for gaps. An outage of the remote store, the network path to it, or the Prometheus server itself will leave holes in long-term data, and those holes will not be recovered automatically. Decide early which questions the historical data must answer exactly, such as audit evidence or billing-style totals, and which only need trend accuracy. Those answers determine how much gap you can tolerate and whether you need a second write path or local retention sized to cover remote outages.

Before you choose a store, confirm with your team what history you need, how long it must be kept, who may query it, and how a gap would be reported. Ask any implementation partner or vendor to show how their design handles remote store downtime, queue overflow and restart behavior. Treat the external store as production infrastructure from the first day, because the monitoring data you lose during its outage is gone.

Components and settings involved in the remote write path

Remote write is a chain, not a single switch. Samples land in the local TSDB first, a remote_write block forwards them to an external store, and remote_read or the store's own query layer decides where long-range queries are answered. Each component below changes what is kept, where it lives and what a query can see.

The remote_write configuration block

The remote_write block in prometheus.yml tells Prometheus where to send samples, how to authenticate, and how to shape the stream through queue settings and relabeling. Samples are sent after they are ingested locally, so a failing endpoint does not stop scraping, but the queue can fall behind and drop data when it fills. Check the endpoint URL, TLS and credentials, and whether write_relabel_configs removes series you actually need to keep long term.

Storage docs

The remote_read configuration block

The remote_read block lets Prometheus fetch raw samples from an external store when a query reaches past local retention. It is the path that makes long-range PromQL work from the Prometheus UI and API, but it moves data over the network at query time, so wide queries can be slow or heavy on the store. Decide whether dashboards need this path at all, or whether long-range queries should go to the store's own query interface.

Local TSDB with two-hour blocks

Prometheus writes incoming samples to a write-ahead log, then compacts them into two-hour blocks on local disk. Every sample is in this local database before it is sent remotely, so local disk sizing and I/O still matter even when a remote store holds the history. Plan disk for the local window and for compaction headroom, not only for the long-term data you are offloading.

Block length
2 hours

Local retention by time or size

Local retention decides how long the TSDB keeps blocks on the Prometheus host, and it can be limited by age, by total size, or both. The default is 15 days, so a remote store is only needed for history beyond that window. Setting a short local window reduces disk use but makes the remote store the only source for older data, so an outage there becomes a query gap. Confirm the local window your alerting rules need, since rules evaluate against local data.

Local storage is single-node

The storage docs state that local storage is not clustered or replicated and should be managed like any other single-node database. Remote write does not change this: a Prometheus host that fails stops scraping and loses any samples still in its queue or write-ahead log. Plan backups or a second scraping instance for the write path, and confirm how the chosen store handles duplicate samples from redundant senders.

Storage docs

External store and any adapter

The external long-term store receives samples over the remote write protocol, and some stores need an intermediary adapter or gateway that translates the protocol into their own write API. The adapter adds a component to patch, monitor and secure, and it can become the bottleneck for ingestion. Ask the store vendor or project which protocol version it accepts, whether an adapter is required, who maintains it, and how it authenticates and handles retries.

Which retention and query model fits the team

This table compares four ways to combine short local retention, remote write copies and remote read with a managed or self-hosted external store. Read each row for when the model fits and what it adds to operations, such as query paths, duplicated data and upgrade work. The main takeaway is that the more query paths and stores you keep, the more dashboards, rules and failure modes your team must maintain.

ModelWhen it fitsOperational cost to plan for
Short local retention, long-term queries through the external storeTeams that want a small local TSDB and accept that historical queries depend on the external store being availableEvery long-range query depends on the store. Confirm how the store handles query latency and whether dashboards need a separate data source.
Longer local retention plus remote write as a copyTeams that want recent data queryable even if the external store is slow or unreachableSamples are stored twice, so disk and compute grow on both sides. Local disk sizing must cover the full local retention window.
Remote read for unified queriesTeams that want one PromQL entry point across local and external data for ad hoc investigationRemote read adds query load and latency on the store. Confirm how the chosen store handles overlapping time ranges and deduplication.
Separate dashboards per storeTeams that keep recent queries on Prometheus and historical reporting on the store's own toolsTwo query surfaces to document, secure and keep in sync. Dashboards and alert rules may drift apart over time.
Managed external storeTeams without spare operations capacity for a second stateful system, or with a provider already approved by their security reviewRecurring service fees and data residency review. Ask about export options, exit terms and which Prometheus protocol versions the service accepts.
Self-hosted external storeTeams that must keep metric data inside their own network or accounts and have people to run a storage clusterBackups, capacity planning, upgrades and on-call for the store. This work recurs for as long as the store is in use.

How to configure remote write step by step

This sequence moves Prometheus from local-only retention to an external long-term store without losing the samples you need, and ends with proof that both sides return the same answers.

  1. Inventory series that must persist

    Before touching configuration, list the metric families, jobs and recording rules that your dashboards, SLO reports and audits depend on, and mark the series that can be dropped, such as high-cardinality per-pod or debug metrics. Owners from platform engineering and the teams that read dashboards should sign off on this list. The step is done when you have a written keep list and drop list that the remote write filter can be built from. Ask the external store vendor how it handles label cardinality so the list reflects what it can afford to ingest.

  2. Choose and confirm the external store

    Select a store that accepts the Prometheus remote write protocol, then confirm the exact protocol version, compression and authentication methods in writing with its vendor, since support differs between products. Also confirm where data will reside, how long the store keeps it and how queries are served. The step is complete when the vendor's answers are documented and a test endpoint accepts a sample write from a development Prometheus. Remote write is a protocol Prometheus speaks, but the store's own compatibility is something you must verify.

  3. Configure remote write with TLS and authentication

    Add a remote_write block to the Prometheus configuration with the store's endpoint URL, a TLS configuration that verifies the server certificate, and credentials loaded from a file or secret store rather than written inline. Prometheus supports TLS with TLS 1.2 as the minimum, so set the store to use an encrypted connection and keep the credentials out of version control. Reload the configuration through your normal process, since the lifecycle endpoint should stay disabled unless you have decided to enable it. The step is done when Prometheus starts without configuration errors and the remote write connection is established.

  4. Apply relabeling to filter series

    Use write_relabel_configs inside remote_write to keep only the series from the keep list and to drop high-cardinality labels or unneeded families before they leave the server. Test each rule against a sample of live series, because a broad drop rule can silently remove data that alerts or dashboards need. Record which rules were applied so the filter can be reviewed during audits. The step is done when a sample of series from the local Prometheus shows the expected keep and drop outcome and the remote store receives only the filtered set.

  5. Set local retention for the new layout

    Decide how long Prometheus keeps data locally now that the external store holds the long-term copy. The default local retention is 15 days, and it can be set by time or by size, so pick the value that covers your most common dashboard and alert lookback. Keep local storage sized for that retention, because local storage is single-node and is not replicated by Prometheus. The step is complete when the retention flag or setting is applied, disk usage is checked against the new limit, and the local TSDB is confirmed to be within its size budget.

  6. Enable remote read only where needed

    Turn on remote_read only for query paths that must reach history beyond local retention. Remote read adds query latency and load on the store, and it can return different results than local data if the store has gaps, so limit it to specific use cases and document which dashboards or tools use it. Confirm that the store's query results match the local ones for overlapping time ranges before exposing this path widely. The step is done when the remote read configuration is limited to the agreed queries and a test query over a range older than local retention returns data.

  7. Check remote write health and failures

    Watch the Prometheus remote write metrics, which report samples sent, failed and retried, along with the queue and backlog state, during a soak period on the staging server. Look for a steady sent count with no growing failure or retry count, and confirm the backlog returns to near zero after a short outage test. Confirm that samples arrive in the store by querying a known series there. The step is complete when failures stay flat, the backlog recovers, and the store shows the samples you expect.

  8. Verify query parity before production

    On the staging Prometheus, run the same PromQL queries against the local data and against the external store for overlapping time ranges, and confirm the results match for your key dashboards and alert expressions. Investigate any difference in values, timestamps or missing series before cutting over, since differences usually come from relabeling, scrape gaps or store-side aggregation. Record the query set and results as evidence for your change record. The step is done when the agreed queries return the same results from both sides and the rollout to production is approved by the owners of the keep list.

How the setup differs for single node, paired Prometheus and Kubernetes

A single Prometheus server is the simplest model for remote write. One process scrapes targets, keeps a short local window in its time series database and forwards samples to the external store. Local storage is not clustered or replicated and should be managed like any other single-node database, so the server itself is the main point of failure for both recent queries and forwarded data.

  • One writer: Only one instance sends samples, so the external store receives a single series per metric without deduplication logic.
  • Simpler failure modes: If the server stops, scraping stops. Data that was never scraped cannot be recovered from the store later.
  • Gaps during outages: Samples held in the write-ahead log or queued for remote write may be delayed or lost if the host or disk fails. Confirm the queue and retry settings in your version's documentation.
  • Local retention still matters: The default local retention is 15 days, configurable by time or size. Long-term retention lives in the external store, so local settings control only recent query speed.
  • Backups of the host: Plan disk snapshots or restore procedures for the server, since it holds the only local copy of recent data.

Before go-live, confirm how long the store can accept writes during an outage and how much local disk the write-ahead log needs on your host.

How to size storage and set a retention policy

Start by measuring, not assuming. The sample volume a remote write pipeline must carry is driven by three inputs: the number of active series your Prometheus holds, the scrape interval for each target, and how long you keep the data. Each active series produces one sample per scrape interval, so doubling the series count or halving the scrape interval roughly doubles the sample rate. Query your own instance for active series (the prometheus_tsdb_head_series metric is a good starting point) and record how it changes across a normal week, including deployments and autoscaling events, before you pick any storage target. Ask any vendor or operator of an external store to size against your measured figures, not a generic example.

Local retention is set with the --storage.tsdb.retention.time and --storage.tsdb.retention.size flags, and the default time retention is 15 days. Locally, Prometheus writes incoming samples to a write-ahead log, then cuts them into two-hour blocks that are compacted over time. Blocks older than the retention limit are deleted, and whichever limit is reached first applies. Remote write does not change this behavior: samples still land in local storage and are still subject to local retention, so a short local window is a reasonable choice once the remote store holds the history. Confirm that your remote write queue can keep up at peak load, because a backlog longer than local retention means samples are deleted before they are sent.

The external store has its own retention and compaction settings, and they must be configured separately from Prometheus. Setting a long local retention does not extend retention in the remote system, and a short remote retention will silently discard the history you expected to keep. Write down the retention period each data class needs (for example, raw samples for incident review versus downsampled data for capacity trends), who approves changes to it, and how the store enforces deletion. Verify the policy with a test write and a read after the configured period, and check that the store's compaction and downsampling do not change query results your alerts or dashboards depend on.

What teams ask before running remote write in production

What actually drives the cost of running remote write to long-term storage?

The cost depends mostly on how many samples you ship, how long you keep them, and which store you send them to. Sample volume follows the number of active series and the scrape interval, so more targets, more labels and shorter intervals all raise storage and query load. Retention multiplies the bill: every extra month of kept data is more disk or object storage. Costs fall into one-time work (design, relabeling, dashboard and rule migration) and recurring work (storage, compute for the store, network egress, and on-call time). Prometheus itself has no license fee, since it is Apache-2.0 licensed, so the spend sits in infrastructure, the store, and the people who run them. Ask any store vendor for pricing against your measured series count and retention, not a generic tier.

How long does a remote write rollout usually take?

The timeline depends on how many Prometheus servers, rules and dashboards need to move, and on whether the chosen store is already operated in your environment. Work that tends to take the most time is sizing and retention decisions, label hygiene, validating that queries return the same results from the new store, and getting infrastructure approvals. A single Prometheus pointed at one store with a small rule set is usually the quickest path. Ask a partner or your own team to break the plan into phases with exit checks, and treat any single duration in a proposal as something to test against your inventory rather than a fixed promise.

What must our team provide before a remote write project starts?

Most of the inputs are things only your organization can supply. You need an owner for the long-term store, who decides on retention, access and capacity, and who gets paged when ingestion falls behind. You also need the infrastructure to host Prometheus and the store, including compute, disk or object storage, network paths, and TLS certificates. Operations work includes an on-call rota that covers both Prometheus and the store, backup and restore responsibilities, and a change process for upgrades. Access to the current metrics inventory, alert rules and dashboards is also required. Confirm these owners in writing before scoping, because a missing owner is the most common reason a store is provisioned but never used.

Can our own platform team run remote write without an outside partner?

Yes, a capable platform team can run it, provided it has the skills and time to operate two systems at once. Prometheus stores its local data in a single-node time series database that is not clustered or replicated, so the team must manage it like any other single-node database. Adding remote write means also owning the store, its retention and its queries. The work is usually easier to hand over when the team already runs Prometheus and understands PromQL, relabeling and certificate management. An outside partner can help with design, testing and handover, but the choice depends on your staffing and risk tolerance, not on a general rule.

What happens to samples if the remote store goes down?

Prometheus buffers samples in its write-ahead log and retries sending them to the remote endpoint, so short store outages usually delay data rather than lose it. The exact buffering window and behavior depend on the Prometheus version and your queue settings, and a long outage can exceed the buffer, which means data is dropped. Local retention continues to hold recent data on the Prometheus server, so you can still query it while the store is down. Confirm the queue and retry settings for your Prometheus version, set alerts on remote write failures and queue lag, and test an outage in staging before you rely on the design. Prometheus values reliability over precision, so plan for gaps as a possibility.

Does remote read replace our dashboards and alerting?

No. Remote read lets Prometheus query data held in the external store, but it does not replace the dashboards or alerts you already run. Queries against remote data are generally slower and depend on the store's performance, so routine alerting should keep running against local data where possible. Dashboards that span long periods may need recording rules or downsampled data in the store. Test the PromQL results from remote read against local results for the same time range, because differences in step alignment, staleness handling or store features can change what a panel shows. Treat remote read as a way to reach historical data, not as the primary path for paging.

How does remote write fit into a high-availability design?

Remote write is one part of an availability design, not a replacement for it. Because local storage is single-node, teams often run redundant Prometheus pairs that scrape the same targets, and send samples from both to a durable store that can answer queries across replicas. That design needs consistent external labels so replicas can be identified and deduplicated, and it needs the store to handle duplicate series correctly. Alertmanager should also run in a clustered setup, with Prometheus pointing at every Alertmanager instance rather than a load balancer. Confirm deduplication behavior with the store vendor and document it before you build alerts that depend on it.

What security controls should guard the remote write path?

The remote write endpoint carries your full metric stream, so it needs the same care as any other data path. Use TLS on the connection and authenticate the sender, either with client certificates or with HTTP basic authentication over TLS, since basic authentication without TLS exposes credentials in cleartext. Prometheus supports TLS with TLS 1.2 as the minimum. Keep admin and lifecycle APIs disabled unless you need them, and restrict who can read the store, because metric labels can reveal hostnames, service names and customer identifiers. Confirm the store's own access controls and audit logging with the vendor, and include the path in your security review.

What drives effort and cost in long-term storage

This table lists the drivers that change the size, running effort and bill of a Prometheus remote write setup, with a way to keep each one under control. Read it before sizing the external store, because series count and retention multiply everything else. The main takeaway is that most cost comes from how many series are sent and how long they are kept, not from the number of Prometheus servers.

DriverWhy it changes cost or effortHow to keep it down
Active series and cardinalityEvery unique label combination is a series that is sent and stored. High-cardinality labels such as user IDs or request paths multiply the volume the external store must ingest and keep.Drop unneeded series and labels with relabeling in remote write configuration, and review top series counts before go-live.
Number of Prometheus instances writingEach instance sends its own copy of samples, so replicated pairs or per-cluster servers multiply ingest. Duplicate series from HA pairs must be deduplicated by the store or the query layer.Confirm with the store vendor how replica labels are handled, and send only from the instance that is needed for long-term history.
External store choice and its operationsThe store adds a separate system to install, back up, upgrade, scale and monitor. Managed and self-hosted options carry different one-time and recurring costs, and the store's own remote write compatibility must be confirmed.Choose a store your team already operates, confirm the supported remote write version with its documentation, and ask for the operating model in writing.
Retention lengthLocal retention defaults to 15 days in Prometheus, so long-term history is entirely the store's responsibility. Each extra month of kept data adds disk, backup and query load.Set retention by data class, keeping raw samples for the period teams actually query and downsampling or dropping the rest where the store supports it.
Query patterns that use remote readRemote read pulls raw samples from the store into Prometheus for each query, which adds latency and load on both sides. Broad or frequent queries over long ranges are the usual cause of slow dashboards.Limit remote read to dashboards and rules that need history, keep recording rules for common long-range queries, and avoid remote read in alerting paths.
Compliance requirements for retained dataRetained metrics may fall under access, encryption, audit or deletion requirements. Meeting them can need extra storage controls, access logging and deletion procedures in the external store.Ask the compliance owner which data classes apply, confirm encryption and access controls with the store, and document deletion steps before setting retention.
Environments (dev, staging, production)Each environment that writes to a shared or separate store adds ingest, storage and support work. Non-production data often has little long-term value but still consumes space.Keep dev and staging on local retention only, or send them to a smaller store with shorter retention, and reserve long-term storage for production.

Securing the remote write and read endpoints

Remote write and remote read move metrics and query traffic between Prometheus and an external store, so they widen the attack surface beyond the scrape endpoints. The cards below cover the transport, the credentials, the read path, and the administrative APIs that should stay closed. Check each one against your own store and network design before go-live.

TLS and client certificates

Remote write should run over TLS 1.2 or newer, with the store's certificate verified against a trusted CA. Where the receiving store supports it, configure a client certificate so the store can confirm that the sender is the Prometheus instance it expects. Confirm with the store vendor which certificate options it accepts and how it rotates them, because an expired certificate silently stops samples from reaching long-term storage.

Security model

Basic auth only over TLS

If the store requires HTTP basic authentication, use it only on a connection protected by TLS. Prometheus stores the password as a bcrypt hash on its side of any server-side check, but basic authentication without TLS sends credentials in cleartext on the wire. Treat the remote write path as unusable for basic auth until TLS is verified end to end.

Keeping store credentials out of scrape configuration

Remote write credentials placed directly in the Prometheus configuration file are readable by anyone with access to that file or to the configuration endpoints. Store the password or token in a file readable only by the Prometheus service account and reference it from configuration, and restrict who can view or change the configuration. Ask your team which secret manager fits your platform and how credentials are rotated without a restart outage.

Restricting who can call remote read

Remote read lets any caller who reaches the read endpoint pull stored samples, which can expose historical data beyond what current dashboards show. Limit the read path to the query tier or specific service identities, enforce network policy between them, and log access at the store. Confirm with the store vendor whether it supports per-caller authorization on read requests or only on writes.

Admin and lifecycle APIs stay off

Prometheus disables its admin HTTP APIs by default, and the lifecycle endpoints that reload or shut down the server are disabled unless enabled. Leave the --web.enable-admin-api and --web.enable-lifecycle flags off unless a documented procedure needs them, and if they are needed, restrict them to an internal management network. Verify the running flags after each upgrade or configuration change.

Exporters with URL targets remain separate

Securing remote write does not cover exporters that take their targets from URL parameters, such as SNMP and Blackbox. The Prometheus security model warns that anyone with HTTP access to these exporters can make them send requests to arbitrary endpoints. Review which exporters are reachable from scrape networks and place them behind their own access controls, which is covered in the security hardening work.

How to verify that long-term data arrives and fails safely

Verification starts with proof that samples land in the external store with the same labels Prometheus holds locally. Pick a handful of series with distinctive labels, query them in Prometheus and in the long-term store over the same time range, and compare series names, label sets and sample counts. Then run the same check on a series that relabeling is meant to drop. Confirm it has stopped appearing in the store after the new write_relabel_configs rules took effect, and that it is still present in local data until local retention removes it. Remote write runs inside the Prometheus process, so also watch the remote write metrics Prometheus exposes for failed and retried samples, and confirm the team has an alert on them. Confirm the exact metric names against your Prometheus version before you write the alert.

Next, test failure. Block network access from Prometheus to the store, or stop the store, for a defined window and observe three things: Prometheus keeps scraping and evaluating rules, its remote write queue grows and retries, and local retention continues to age data out on schedule. Local storage is single-node, so confirm that the local retention setting covers the outage plus recovery time. Restore the store and check that the backlog drains and the gap closes. Then test the boundary: a query over an old range should return data from the external store once local blocks have expired. For TLS, send an unauthenticated or wrongly certified write to the receiving endpoint and confirm it is rejected. Check the store's own documentation for how it authenticates writers, since that behavior belongs to the store.

Record every expected gap before the test starts. Write down the outage window, the samples that Prometheus cannot send once its queue is full, and any series dropped on purpose by relabeling. Note which data the store cannot recover, such as samples lost when a Prometheus instance fails with unsent data in its queue. Keep this record with the test results and the retention settings used, so the team and any reviewer can tell an expected gap from a fault. Ask the store vendor or operator to confirm how it handles out-of-order and duplicate samples during replay, because those rules decide whether a recovered range matches what was originally sent.

What to monitor, back up and upgrade after go-live

Once remote write is live, the risk moves from getting samples out of Prometheus to noticing when they stop arriving, when the store fills, or when an upgrade breaks one of the two remote paths. The cards below cover the signals to watch, the backups that protect history, the upgrade routine, and the records that let a new owner understand the setup.

Remote write queue and failure metrics

Prometheus exposes metrics for its remote write queues, including samples failed, retried and pending. Alert when failures climb or pending samples keep growing, because a silent backlog means the external store is missing recent data while local queries still look healthy. Check these metrics per remote write endpoint, since one slow destination can hide behind a healthy one. Confirm the exact metric names against the Prometheus version you run.

Storage docs

Store ingest and storage growth

Watch ingest rate and disk growth on the external store, not only on Prometheus. Compare the samples Prometheus sends with what the store accepts, and track growth against the retention you chose. Ask your store vendor which metrics expose ingest errors, rejected writes and compaction backlog, and set alerts before the volume reaches its limit. Review growth after any new scrape target wave, because cardinality often rises faster than expected.

Local retention disk use

Local storage is single-node and keeps data for the configured retention, 15 days by default, so the local disk must hold that window plus the write-ahead log. Alert on free disk space and on TSDB size against the retention limits you set by time or size. Remote write does not shrink local usage, so a full local disk still stops ingestion and can stop the remote path too.

Certificate expiry

TLS certificates protect remote write endpoints, scrape targets and the external store connection. Track expiry dates for every certificate in the path and renew them before they lapse, because an expired certificate fails writes quietly in some setups. Confirm that Prometheus rejects certificates below TLS 1.2 and that client certificates used for remote write are rotated with the same process as the server certificates.

Security model

Upgrade testing for both remote paths

Prometheus ships a new minor release every 6 weeks, and a minor release generally stops receiving bug fixes after that window, so plan for regular upgrades. Before each upgrade, test remote write and remote read against a staging copy of the store and confirm that queries, recording rules and alerts still return expected results. Choose between the 6-week track and the long-term support line based on how much upgrade effort your team can absorb.

Release cycle

Store backup and configuration

Prometheus local data is not replicated, so the external store holds the history you are paying to keep. Back up the store on a schedule that matches how much history you can afford to lose, and test a restore into a separate environment. Also back up the store's configuration, retention settings, users and access policies, because rebuilding them under pressure is slow and error-prone. Ask the store vendor or project for its documented backup procedure.

Retention and relabeling documentation

Record which metrics go to the external store, which are dropped by relabeling, how long each tier keeps data, and who approved those choices. This record lets an engineer answer why a series is missing or why a query returns less history than expected. Review it after each change to scrape jobs or relabeling rules, and store it alongside the Prometheus configuration in version control.

How samples flow from Prometheus to local and external storage

The flow starts with scrape targets that Prometheus pulls over HTTP. Samples land in the local TSDB, which holds data for the configured local retention. A separate remote write path applies relabeling and TLS before sending samples across the trust boundary to the external store. Queries read local data directly, while remote read fetches older series back from the external store. Check the boundary, the credentials on each hop, and which data each query path can actually see.

Sample path from scrape targets through local storage to an external store.

How DeployOpen scopes and hands over remote write work

DeployOpen plans and implements self-hosted Prometheus inside your own infrastructure, with remote write to a long-term store that you choose and operate or host in your own cloud account. The work is agreed on a fixed scope in writing before it starts. That scope names the Prometheus instances, the remote write target, the retention periods for local and long-term data, the relabeling rules that decide which series are forwarded, and the query paths that will read historical data. The quote follows from that written scope. DeployOpen does not publish a price list, so the useful question for your team is which items in the scope are in and which are out, not a rate card.

Scoping starts with decisions that your compliance, security and platform teams need to sign off on. These include which metric labels may leave the local instances (labels can carry hostnames, customer identifiers or other data you may not want in a second store), who may query long-term data and through which identity path, and how long each class of metric must be kept. DeployOpen documents each decision with its reason and the setting that enforces it, such as the remote_write block and write_relabel_configs in prometheus.yml. Access to the remote store and to the query endpoints is handled the same way, so an auditor or internal reviewer can trace a retained metric back to a written choice. Confirm with the vendor of your chosen store which retention and tenancy controls it actually provides before you commit.

At handover you receive the configuration files, a runbook covering routine operations, and a record of the decisions above. The runbook covers what to do when the remote endpoint slows or refuses writes, how to check the write backlog, and how to roll a relabeling change out safely. Ongoing support is available as a retainer that covers upgrades, rule reviews, capacity checks and incident help after go-live. Ask any partner, DeployOpen included, to show you which of these items are fixed-price deliverables and which are recurring, so you can budget the one-time build separately from the upkeep that continues for as long as the platform runs.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.