• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • CDP Linux
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Data Logging
  • CDPLogger.LoggerDataSink
  • 5.1.1

CDPLogger.LoggerDataSink

Behaviour

  • Stores each computed KPI value into the datastore as a timestamped row, tagged so it can be found and read back later.
  • Commits queued rows on a configurable flush interval (or as the Metric calculations drive it) to keep logger traffic low.
  • Serves the stored KPI values back over a logger data server.
  • Reports a backend write failure for the affected Metric only, so one Metric can flag a problem while the others keep progressing.

Configuration

In normal use the sink is added to a MetricsManager through the MetricLoggerDataSink recipe, a LoggerDataSink pre-configured with a local compact datastore for storing the MetricsManager's KPI values. The settings are:

  • Datastore - the database backend the KPI values are stored in; the recipe uses a local CDPCompactDatastore.
  • FlushIntervalSec - how often queued rows are committed to the datastore; 0 commits as the Metric calculations drive it.
  • ServerInterface, ServerPort - the network endpoint on which the stored KPI values are served for reading back.
  • Debug - diagnostic verbosity; higher values log more detail about registrations, writes, and flushes.
  • ServerMetadataCacheDurationSec, TotalFramesWritten, TotalSamplesWritten - read-only server cache duration and write-throughput counters.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2026 CDP Technologies. Privacy and cookie policy.

Return to top