ULTIMATE GUIDE26 min read

Open Source Embedded Analytics: The Ultimate Guide

A practical architecture guide to embedding ClickHouse and Apache Superset analytics in your product without tying every viewer to a BI licence.

P
PADISO teamPublished 22 Oct 2026

Open source embedded analytics lets you put dashboards and reporting inside your product without making every customer a named user in a commercial BI platform. A ClickHouse and Apache Superset architecture can remove per-viewer software fees, but it does not remove the costs of hosting, security, product work or ongoing operations. Start by defining the customer experience and isolation model, then test whether this stack fits your query patterns and team.

If you are comparing architectures, our embedded analytics service covers the choices from data modelling through to customer-facing dashboards. This guide explains how to make those choices in a way that keeps access secure and ongoing costs visible.

Table of contents

  • What open source embedded analytics means
  • When a ClickHouse and Superset stack makes sense
  • What you are replacing, and what still costs money
  • The reference architecture
  • How to model analytics data in ClickHouse
  • How to embed Superset in your application
  • How to secure tenant access
  • How to design useful dashboards
  • How to make queries fast and predictable
  • How to estimate total cost of ownership
  • How to operate the platform
  • How to deliver the project in stages
  • Common mistakes to avoid
  • When to choose another approach
  • Where PADISO fits

What open source embedded analytics means

Embedded analytics puts reporting inside the product your customers already use. A customer might open an operations portal and see service levels, order trends or usage by location without logging into a separate BI product. The application controls the surrounding navigation, branding and user experience. The analytics layer supplies charts, tables and the queries behind them.

Open source embedded analytics means using software whose source code and licence do not impose a per-viewer BI fee. In this guide, the core pattern uses ClickHouse as the analytical database and Apache Superset as the dashboard and charting application. Your product authenticates the user, your backend grants access to a specific embedded dashboard, and Superset queries the data.

This is different from building every chart from scratch. You reuse a BI interface and its dashboard authoring features, while retaining control of the product experience and the infrastructure. It is also different from simply placing an internal BI dashboard in an iframe. A production customer-facing implementation needs deliberate identity, tenant isolation, permissions, monitoring and release management.

The attraction is clear for products with many customer viewers. A commercial tool priced around named users can make the cost of analytics grow with customer adoption. An open source stack shifts the main cost drivers towards compute, storage, engineering and support. That can be a better fit, but the saving is not automatic. A small user count, a managed commercial offer or limited engineering capacity may make a paid product more economical overall.

When a ClickHouse and Superset stack makes sense

The stack is worth evaluating when analytics is part of your product, not just a reporting tool for your own staff. It is especially relevant when customers need dashboards inside an application, when the viewer population may grow, or when you need tighter control over hosting and the user experience.

ClickHouse is designed for analytical workloads: scanning and aggregating large sets of records. Superset provides dashboard authoring, charts and embedded dashboard support. Your application joins them together with a backend that manages identity and permissions. A useful overview of Superset's supported embedding approach is in the Apache Superset embedding documentation.

This architecture tends to suit products with:

  • Event, transaction or operational data that can be copied into an analytical store.
  • Repeated dashboard queries, such as activity by customer, time period or product line.
  • A need to separate customer access from internal analyst access.
  • A product team willing to own a data pipeline and a production analytics service.
  • A business case where avoiding per-viewer fees matters over the expected life of the product.

It is less compelling if your data is small, the report is used by a handful of staff, or you need a fully managed experience with little operational ownership. In those cases, a commercial BI platform or a hosted Superset service may be a better starting point. The decision should compare total operating effort and delivery time, not only software licence line items.

Be clear about the product requirement

Before picking a database or dashboard tool, write down what the customer needs to do. “We need embedded analytics” is not a usable requirement. “A customer administrator can compare this month’s completed orders with the previous month, filter by site, and export a CSV for their own organisation” is much closer.

Capture the intended users, workflows and limits. Do customers need to build their own charts, or only view dashboards you publish? Can a user see one customer account or several? Is the data close to real time, updated daily, or somewhere in between? Do users download data? Do you need mobile layouts, scheduled reports or alerts?

Those answers drive architecture. Self-service exploration requires more flexible permissions and a clearer semantic layer. A fixed set of dashboards can be simpler, but still needs careful tenant isolation and a way to evolve the product without exposing internal authoring tools.

What you are replacing, and what still costs money

A commercial BI bill often bundles software access, identity features, support, hosting or capacity into one agreement. With an open source stack, you separate those concerns. Superset and ClickHouse can avoid the BI vendor's per-viewer licence charge, but the organisation still pays for infrastructure and the people who design, secure and operate the service.

The cost categories usually include:

Cost area What to include in your estimate What changes the cost
Analytical database Compute, memory, storage, backups and any managed service charge Data size, retention, concurrency, query complexity and availability targets
Superset application Web processes, metadata database, cache, background workers and network traffic User activity, dashboard complexity, refresh patterns and high availability
Data movement Ingestion jobs, connectors, transformation compute and network transfer Source count, freshness target, data volume and retry needs
Engineering Initial build, data modelling, embedding, access controls and testing Existing platform maturity and the level of custom product work
Operations Monitoring, incident response, patching, capacity planning and support Internal skills, service expectations and managed-service coverage
Product ownership Dashboard design, customer feedback, release process and documentation Number of customer use cases and how often the analytics product changes

Do not compare a commercial quote with only the cloud bill for the open source option. Include the people who will own upgrades, dashboards, data quality and incidents. Conversely, do not assume that a commercial per-seat price is the full cost if it requires capacity commitments, implementation work or vendor-specific modelling.

A useful business case models several adoption scenarios. Use the number of customer organisations, active users per organisation, query volume and data retention you actually expect. Estimate both a normal month and a busy period. Include a buffer for growth, but make that buffer an explicit assumption rather than presenting a forecast as a fact.

The key question is not “Is open source free?” The useful question is “At what level of adoption and operational effort does this architecture have a lower total cost and acceptable risk than the alternatives?”

The reference architecture

Treat the system as a set of boundaries, not as two products connected by a database driver. A practical design has the product application, an authentication and token service, Superset, a cache and task queue, ClickHouse, and an ingestion path from operational sources.

Customer browser
    | authenticated product session
    v
Product frontend
    | request a dashboard token from your backend
    v
Product backend and authorisation service
    | verify user, tenant, dashboard and permitted scope
    | request a short-lived Superset guest token
    v
Apache Superset
    | validate token and apply row-level restrictions
    | query through configured database connection
    v
ClickHouse
    ^
    | data loaded and modelled by ingestion and transformation jobs
    |
Operational databases, event streams and external sources

The browser should never hold database credentials or create its own authority to choose a tenant. It requests a dashboard token from your backend after it has authenticated to your product. The backend checks what the user may access and asks Superset for a token with only the required dashboard and data scope. Superset validates that token and executes queries against ClickHouse.

Keep the responsibilities distinct:

  • Product identity: Your application proves who the end user is.
  • Authorisation: Your backend decides which tenant, dashboards and data scope that user may access.
  • Dashboard rendering: Superset presents the charts and asks for the data it needs.
  • Analytical queries: ClickHouse reads the modelled data and performs aggregations.
  • Data movement: Ingestion and transformation processes keep the analytical store current.
  • Operations: Monitoring and deployment processes keep each component available and controlled.

This separation makes it easier to audit and test. It also makes failure modes clearer. A stale dataset is different from a broken dashboard. A token rejected by Superset is different from a slow ClickHouse query. Instrument each boundary so an operator can tell which one failed.

For a broader architecture decision, see our platform engineering service. It is useful when analytics depends on decisions about cloud hosting, data movement, identity or existing application boundaries.

How to model analytics data in ClickHouse

The analytical data model determines whether dashboards are fast, understandable and trustworthy. Do not start by copying every source table into ClickHouse and pointing charts at raw fields. Start with the questions the product must answer, then create datasets that make those questions easy to express.

Separate operational storage from analytical storage

Your application database is usually designed to support transactions: creating orders, changing account settings and recording payments. Analytics asks different questions: total orders by week, failure rate by product type, or average completion time by region. A column-oriented analytical database is built to read selected columns across many records and aggregate them.

Avoid running unrestricted customer dashboards against a production transactional database. Heavy scans can compete with application traffic, and customer queries may have a different pattern from the carefully bounded queries your application expects. Replicate or stream the required fields into an analytical store, then keep the ingestion delay visible to users where it matters.

The data path might use change data capture, event streaming, scheduled extracts or a combination. Pick the simplest method that meets the freshness requirement. If a daily refresh is acceptable, a complex streaming pipeline can add cost and failure modes without improving the customer experience.

Build around the questions and tenant boundary

A simple event table could include a tenant identifier, event name, event time, entity identifier and selected attributes. A simplified illustration is:

CREATE TABLE analytics.events
(
    tenant_id String,
    event_id UUID,
    event_name LowCardinality(String),
    entity_id String,
    event_time DateTime64(3, 'UTC'),
    attributes String
)
ENGINE = MergeTree
PARTITION BY toYYYYMM(event_time)
ORDER BY (tenant_id, event_name, event_time);

Treat this as a shape, not a production prescription. Choose types based on actual values and query behaviour. A JSON string for attributes can be convenient for ingestion, but frequently filtered fields may deserve typed columns. Use the right table engine for the data's update and deduplication behaviour. Validate any engine choice against the current ClickHouse documentation and your own workload before deploying it.

The sorting key can help ClickHouse locate relevant ranges of data. If most customer queries filter on tenant and time, those fields should influence the physical data layout. But a tenant-first key is not a substitute for access control. It affects query efficiency. It does not prove that a user is authorised to read that tenant's records.

Avoid using a single wide table as a dumping ground. Model common business concepts explicitly, such as orders, shipments or account activity. Give fields clear names and define their meaning. If “active customer” has a particular business definition, write it down and use it consistently in charts and tests.

Handle updates and duplicates deliberately

Analytical ingestion is often append-oriented, but source systems can correct records, resend events or update statuses. Decide how the pipeline handles each case. A duplicate event can inflate a count. A late-arriving correction can change a historical total. A status field may represent current state, while a separate event table represents the history of state changes.

Document whether a metric is based on the latest record, all events, or a defined business event. Test that rule with records that are duplicated, late, missing or out of order. Do not assume that a dashboard will become correct just because a query returns a number.

Keep time and currency unambiguous

Store timestamps in a consistent time zone and apply customer-local display rules intentionally. Make it clear whether a time filter uses UTC or the customer's local calendar. For currency, preserve the source currency and define any conversion method, exchange-rate source and conversion date. Avoid summing different currencies as if they were one unit.

These details are small in a schema review and expensive to explain after customers rely on the charts. A metric dictionary should state the definition, source, refresh timing, filters and known exclusions for each important measure.

How to embed Superset in your application

Embedding is not just a matter of rendering a dashboard URL. Superset's embedding capability lets an application display a dashboard in its own experience, while the application controls the user's login and surrounding interface. Follow the current Superset embedding documentation for setup and version-specific behaviour.

A typical interaction looks like this:

  1. The user signs in to your application through its normal authentication flow.
  2. The frontend requests access to a particular dashboard from your backend.
  3. The backend checks the user's organisation, role and dashboard entitlement.
  4. The backend asks Superset for a guest token with the permitted dashboard and data scope.
  5. The frontend uses the supported Superset embedding client to mount the dashboard.
  6. Superset validates the token, applies the relevant restrictions and runs queries.
  7. The dashboard is rendered within your product shell.

Keep the Superset service behind your own application boundary where practical. Configure browser origins deliberately, use secure transport and keep secrets out of frontend bundles. Make guest tokens short-lived enough to limit exposure, but not so short that normal dashboard use becomes unreliable. The exact token configuration depends on the Superset version and deployment, so verify it against the official documentation before implementation.

Do not give the browser a general-purpose Superset API credential. The browser should receive only the limited token required for that dashboard session. Your backend should control dashboard identifiers and scope, rather than accepting arbitrary values from a client and passing them through unchecked.

Match the embedded interface to your product

Decide which parts of Superset should be visible. A customer-facing viewer usually should not see internal menus, chart authoring or administrative controls. Your product should own navigation, account context, support pathways and the explanation of what data the dashboard represents.

Branding is only one part of integration. Agree on loading states, empty states, error messages, filter behaviour, date controls, mobile layout and export options. A dashboard that looks consistent but fails to explain a missing-data state is still a poor product experience.

Test the embedded view in the same browser and authentication conditions customers use. Pay attention to browser cookie policies, content security settings, cross-origin requests and how tokens are refreshed. Avoid relying on a developer's local browser configuration as evidence that the production integration works.

How to secure tenant access

Tenant isolation is the central security design problem in customer-facing analytics. A tenant is a customer organisation or another boundary that defines which records a user may access. If one customer can see another customer's information, dashboard polish and query speed do not matter.

Use multiple controls, with one authoritative path for deciding access. A strong baseline is:

  • Authenticate the user through your product, not through a shared analytics account.
  • Resolve the user's tenant and role on the server from trusted application data.
  • Authorise access to the requested dashboard before issuing a token.
  • Put the permitted tenant scope into a signed, short-lived token or a server-controlled policy.
  • Apply row-level security in the analytics layer so queries are restricted to that scope.
  • Restrict database credentials to the data and operations Superset requires.
  • Test the design by attempting cross-tenant access, not only by checking normal use.

Row-level security (RLS) means applying a condition to queries so a user sees only rows they are permitted to see. For example, an authorised tenant might be restricted to records whose tenant_id matches its account. The exact Superset configuration and token format are version-dependent. Use the current official documentation, and review the implementation with someone responsible for security.

The tenant value must come from trusted server-side identity and authorisation logic. Never accept an arbitrary tenant identifier from a browser and treat it as proof of access. A user can alter browser requests. A signed token helps protect the integrity of claims, but it does not make an incorrectly authorised claim safe.

Decide how many isolation layers you need

A shared database with tenant filters can be operationally efficient, but it requires rigorous controls and testing. Separate databases, schemas or clusters can provide stronger boundaries in some situations, but add deployment and operating complexity. The right choice depends on contractual requirements, sensitivity, customer expectations and your ability to operate the design.

Do not confuse a physical sort key with isolation. Putting tenant ID first in a ClickHouse ordering key can reduce unnecessary scanning for tenant-filtered queries. It does not prevent a query from omitting the tenant filter. Likewise, hiding a filter control in the user interface is not an access control.

Write negative tests for the security boundary. Examples include:

  • A user requests a dashboard that is not on their allow-list.
  • A user changes a tenant identifier in a request.
  • A token expires while the dashboard is open.
  • A query contains a filter for a second tenant.
  • A background job runs with a service identity that has broader access than needed.
  • A dashboard is copied or changed and its permissions are not reviewed.

Log token issuance, dashboard access and security-relevant failures without recording secrets or unnecessary personal information. Set a retention policy for these logs and define who can inspect them.

How to design useful dashboards

A chart is useful when a customer can answer a real question with it and knows what the result means. Begin with workflows, not chart types. Ask what decision the user is making, what action follows, and what level of detail supports that action.

A dashboard for an operations manager might show current exceptions, trend over time and performance by site. An executive dashboard may need a small number of consistent measures, with drill-through to supporting detail. A finance user may care more about reconciliation and export than live filtering. These are different product requirements, even if they share the same underlying data.

Use a clear hierarchy:

  • Put the few most important measures first.
  • Show the time period and comparison basis beside each measure.
  • Use consistent names and definitions across dashboards.
  • Make filter scope visible and easy to reset.
  • Provide detail for investigation without making the overview unreadable.
  • Label data freshness, especially if ingestion is delayed.
  • Explain empty or unavailable results in plain language.

Give dashboard authors guardrails. Define approved datasets, names, shared filters and metric definitions. If every dashboard author writes a separate calculation for “revenue”, two customers may see different answers to the same question. A shared semantic layer is a way to centralise business definitions and query logic. It can sit between the warehouse and charts, but it is another component to design and operate.

For teams considering that layer, Cube's introduction to its semantic layer describes the concept and its role in an analytics architecture. The relevant question is whether centralised metrics, multiple consuming applications or query governance justify an additional service in your stack.

Make self-service a deliberate choice

Self-service analytics means customers can explore or build reports without your team creating every chart. It can increase product value, but it expands the permission and support surface. Customers need a safe set of fields, usable definitions and clear limits. They also need to understand whether a saved view is private, shared with colleagues or visible to their whole organisation.

If customers only need a curated set of dashboards, start with that. You can add exploration after learning which questions customers cannot answer. Avoid exposing raw datasets simply because the BI tool supports them. A large field list with unclear names is not self-service; it transfers the modelling problem to the customer.

How to make queries fast and predictable

Performance is a product feature. A dashboard that loads slowly or times out can frustrate users and encourage repeated reloads, increasing load further. Do not set a performance target without measuring the full path from user action to rendered chart.

Instrument at least these steps:

  • Time to authenticate and issue a guest token.
  • Time to load the embedded dashboard shell.
  • Time spent in each chart query.
  • Time in ClickHouse execution and data read.
  • Cache hit and miss behaviour.
  • Queue delay for asynchronous work.
  • Errors, timeouts and retries.

Use representative workloads. A dashboard tested with a developer's small dataset may behave differently with production history, several charts refreshing together and multiple organisations using the product. Test common filters, broad date ranges, exports and simultaneous activity. Record the data volume and cluster configuration so that results can be repeated.

Shape the data to match real queries

Design table sorting and partitioning around the filters and aggregations customers use. Partitioning can help manage data lifecycle and query ranges, but excessive partitions can make operations harder. Sorting affects which parts of data are read. Neither should be chosen by habit. Measure query plans and data read with realistic queries.

Pre-aggregate carefully when a dashboard repeats expensive calculations. An aggregate table or materialised view can reduce work, but introduces a freshness and correctness question. Define how updates and late-arriving records affect those aggregates. Keep the raw or canonical source available for validation where appropriate.

Use limits and sensible defaults. A default dashboard request for every row in a long history is often a product design problem as much as a database problem. Set reasonable date ranges, paginate detail tables and restrict expensive exports. Explain limits in the interface instead of returning an unexplained error.

Use caching with a clear invalidation rule

Caching can avoid repeating the same query, especially when many viewers look at a shared dashboard. But it introduces questions: how long can an answer remain valid, what identity dimensions affect the result, and how do you prevent one tenant from receiving another tenant's cached result?

Treat cache keys and authorisation as part of the security design. If tenant scope changes the result, that scope must be represented in the cache behaviour. Do not rely on a generic cache setting without validating how the exact Superset version handles identity and query context. Test both cache hits and cache misses across tenants.

A cache is not a substitute for efficient queries. It can hide a slow query during a demonstration, then fail to help when filters differ or data changes. Monitor hit rates and query duration together. Decide whether a cache entry should expire on a schedule, after an ingestion event, or through a combination of rules.

How to estimate total cost of ownership

The right comparison separates software charges from the cost of delivering and operating a reliable analytics product. Build a model from your assumptions rather than copying a headline figure from another organisation. Infrastructure prices change by cloud region, configuration and date, and an apparently similar workload can have very different concurrency and storage needs.

Use a spreadsheet with a row for each component and a notes column for the assumption behind it. Include:

  1. Database compute: The normal and peak capacity needed for the observed query workload.
  2. Database storage: Current data, expected retention, replicas, backups and growth.
  3. Superset application: Web capacity, metadata database, cache, background workers and availability.
  4. Ingestion and transformation: Compute, connector charges, data transfer and monitoring.
  5. Network and egress: Traffic between application, analytics components and customers.
  6. Engineering delivery: Initial product integration, modelling, security testing and deployment.
  7. Ongoing ownership: Upgrades, on-call cover, query tuning, dashboard support and incident response.
  8. Risk and resilience: Backup tests, disaster recovery, security review and capacity headroom.

Then compare three scenarios. A low scenario might assume limited adoption and mostly cached dashboards. A base scenario should reflect the plan you can explain from current product usage. A high scenario should test what happens when more customers use the feature concurrently or retain more history. State each assumption, including how frequently customers load dashboards and how much data each query reads.

For a commercial alternative, model named-user, capacity or usage charges using the vendor's current contract and pricing documents. Add any required platform, implementation or support costs. For open source, price the actual infrastructure configuration you intend to run and include the work needed to operate it. Do not assume a user has zero marginal cost in every sense: infrastructure can still grow with query volume and concurrency, even when the BI software does not charge for each viewer.

Run a break-even test

Compare the expected cost over a period that matches your product and procurement decision. Include setup and migration effort, not only recurring monthly charges. If you plan to move away from an existing BI platform, account for rebuilding dashboards, changing business definitions, retraining staff and validating historical outputs.

The break-even point is not just a viewer count. It depends on how many viewers are active, how often they query, how complex the dashboards are, how much data is retained and how much engineering ownership is available. A commercial plan may be attractive at one adoption level and unattractive at another. The architecture decision should be revisited when the workload changes materially.

Track real usage after launch. Measure active viewers, dashboard loads, query time, cache behaviour, ingestion freshness and support requests. Replace assumptions with observed data. That gives finance and engineering a shared basis for deciding whether to scale, tune or change the service model.

How to operate the platform

Open source software still needs a production operating model. Assign an owner for each component and define the actions that happen when it fails. If no one is responsible for a Superset upgrade, ClickHouse capacity or an ingestion alert, the software's licence does not reduce the business risk.

Deployment and configuration

Keep configuration in version control, with secrets supplied through an approved secret-management mechanism. Separate development, test and production environments. Use repeatable deployment processes and review changes to dashboard permissions, database connections and security settings.

Pin versions deliberately and test upgrades before production. A change in a chart library, driver, database or Superset version can affect query behaviour or embedding. Maintain a rollback path, and document any configuration that cannot be recreated from code.

Monitoring and alerting

Monitor availability and user experience, not only whether a process is running. Useful signals include failed dashboard loads, query latency, database resource pressure, ingestion delay, worker backlog, cache availability and token errors. Alert on conditions that need action, not every temporary variation.

Create a dashboard for the analytics service itself. Include service-level measures that help the team distinguish a data freshness issue from a query slowdown or an application failure. Keep a runbook beside the alerts, with steps for triage and escalation.

Backup, recovery and retention

Decide what must be recoverable: source data, transformed models, Superset metadata, dashboard definitions, configuration and customer-specific settings. A database backup alone may not restore the product experience. Test recovery by restoring into a separate environment and checking that dashboards still work.

Set retention with product, legal and security stakeholders. Keep only data that has a defined purpose and retention period. Deleting old records from an analytical store may require coordinating partitions, derived tables, caches and backups. Design for deletion and correction requirements before customers ask for them.

Support and change management

Customers will report that a number looks wrong, not that a transformation job failed. Give support teams a path to check data freshness, metric definitions and known issues. Record dashboard and data model changes so that the team can explain when a number's definition changed.

Treat dashboards as product assets. Review changes, test important calculations and provide a release note where customer behaviour or definitions change. A lightweight data quality suite can test row counts, required fields, valid ranges and reconciliation rules before data is published.

How to deliver the project in stages

A staged delivery reduces the risk of building a broad analytics platform before proving that customers value it. It also surfaces the harder questions, such as tenant permissions and metric definitions, before the team has created dozens of dashboards.

Stage 1: Confirm the use case and baseline

Choose one customer workflow and a small set of questions. Identify the source fields, refresh needs, expected users and access boundary. Record the current costs and operational pain that the proposed product feature should address. Agree how you will judge whether the first release is useful.

Deliverables:

  • A written user and workflow description.
  • A list of initial metrics with definitions.
  • A data map from source fields to dashboard measures.
  • A tenant and role access model.
  • A comparison of commercial, hosted and self-managed options.

Stage 2: Prove data quality and query shape

Load representative data into a non-production analytical environment. Build a small number of queries that match the intended customer questions. Check duplicates, late updates, time zones, currency and tenant boundaries. Measure query behaviour with realistic filters and volumes.

Do not treat a successful chart render as proof of data quality. Ask a business owner to reconcile the displayed measures against a trusted source. Investigate differences and record definitions before building out the interface.

Stage 3: Prove secure embedding

Implement the authentication and token flow for one test dashboard. Confirm the backend decides the tenant scope. Test valid, expired and unauthorised requests. Attempt to change tenant identifiers and dashboard IDs from the browser. Verify that cached results, exports and filters cannot cross the intended boundary.

Use test accounts for different roles and organisations. Make sure development shortcuts, broad service credentials and debug output do not leak into production. Have an independent technical or security reviewer inspect the design before onboarding real customers.

Stage 4: Put the service behind production controls

Add deployment automation, secrets management, monitoring, backups and runbooks. Set a supported version policy. Define ownership for infrastructure, data quality, dashboard changes and customer support. Rehearse a recovery or rollback before the production launch.

Stage 5: Expand from evidence

Release to a limited group of users and observe how they use the feature. Ask which questions they could answer, where they got stuck and whether the data matched their expectations. Review performance and support load. Add dashboards or self-service capabilities only when there is a clear need.

This sequence is intentionally conservative. It proves product value, data correctness and isolation before scale becomes the main problem. A successful pilot should leave behind reusable foundations, not a one-off dashboard that nobody can safely change.

Common mistakes to avoid

Comparing licence fees with only cloud spend

A lower software bill can still result in a more expensive service if you ignore engineering, support and availability. Compare the whole operating model. Include the people who will be on call and the time required to keep dashboards and data definitions correct.

Treating a guest token as a complete security design

A token is one control in the access path. Your backend must authorise the user and issue only appropriate claims. Superset and the database must then enforce the intended restrictions. Test the complete path, including caches and exports.

Assuming tenant-first sorting isolates data

A sort key can improve query pruning. It does not stop an unauthorised query. Enforce tenant scope through server-side authorisation and data-layer controls, then test attempts to bypass them.

Building a generic data lake before agreeing on metrics

More data does not mean more useful analytics. Begin with a clear set of customer questions and model the data needed to answer them. Unbounded ingestion adds storage, governance and data quality work without proving product value.

Exposing self-service too early

A self-service interface can multiply the number of queries, definitions and support questions. Start with curated dashboards if that is what users need. Add controlled exploration after the core model, permissions and support process are ready.

Ignoring freshness and definitions

A chart can be technically correct and still mislead if users do not know when it was updated or what a measure includes. Display freshness and document definitions. Build checks that catch changes in source data before customers find them.

Treating dashboards as static artefacts

Customer needs, source systems and business rules change. Version dashboard definitions, review metric changes and plan upgrades. A production analytics feature needs product ownership just like other parts of your application.

When to choose another approach

ClickHouse and Superset are not the right answer for every team. Consider another option if you need a highly managed product, lack the engineering capacity to operate the stack, or have a small and predictable viewer population that fits an existing commercial agreement.

A semantic layer can help when multiple applications need shared metrics and governed query access. Cube's documentation explains its product model. It adds a service and design decisions, so use it when the benefits of shared definitions, caching or API-based consumption outweigh that complexity.

Other tools have distinct trade-offs. Metabase's embedded analytics information, Lightdash's embedding documentation and Evidence's embedded analytics documentation are useful starting points for comparing product approaches. Check current licensing, supported embedding models, identity controls and operational requirements directly before making a decision.

A managed Superset provider may be a middle path. You keep much of the open source application model while reducing some infrastructure work. Confirm what the provider operates, how customer access is isolated, what is included in support and how you can export your configuration if you later move.

Choose based on fit, not ideology. The best architecture is the one your team can secure, support and evolve while meeting the product requirement at a sustainable total cost.

Where PADISO fits

We help teams make the architecture decision, build the data and embedding path, and prepare the service for production through our embedded analytics work. The first step is to map the customer workflow, data sources, tenant boundary and expected operating model, then compare options against those requirements.

Next step

Write down one customer question your analytics feature must answer, how fresh the answer needs to be and which organisation is allowed to see it. Then use that as the basis for a technical and commercial comparison, or talk with PADISO about an embedded analytics architecture.

WANT TO TALK THROUGH YOUR SITUATION?

Talk it through with us. Thirty minutes, no slides.

P
Written by the PADISO TeamSydney-based technology leaders who build what they advise on. Seven years of fractional CTO, architecture and AI work for enterprise, government and private equity.

Keep reading

All posts →

Let's talk.

Tell us what you are weighing up, whether it is a build, a roadmap or a deal. You will leave the call knowing your next step.

Book a 30-min callhi@padiso.co