Intel PowerStat and OpenTSDB Integration

Powerful performance with an easy integration, powered by Telegraf, the open source data connector built by InfluxData.

info

This is not the recommended configuration for real-time query at scale. For query and compression optimization, high-speed ingest, and high availability, you may want to consider Intel PowerStat and InfluxDB.

5B+

Telegraf downloads

#1

Time series database
Source: DB Engines

1B+

Downloads of InfluxDB

2,800+

Contributors

Table of Contents

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Input and output integration overview

Monitor power statistics on Intel-based platforms and is compatible with Linux-based operating systems. It helps in understanding and managing power efficiency and CPU performance.

The OpenTSDB plugin facilitates the integration of Telegraf with OpenTSDB, allowing users to push time-series metrics to an OpenTSDB backend seamlessly.

Integration details

Intel PowerStat

The Intel PowerStat plugin is designed to monitor power statistics specifically on Intel-based platforms running a Linux operating system. It offers visibility into critical metrics such as CPU temperature, utilization, and power consumption, making it essential for power saving initiatives and workload migration strategies. By leveraging telemetry frameworks, this plugin enables users to gain insights into platform-level metrics that help with monitoring and analytics systems in the context of Management and Orchestration (MANO). It facilitates the ability to make informed decisions and perform corrective actions based on the state of the platform, ultimately contributing to better system efficiency and reliability.

OpenTSDB

The OpenTSDB plugin is designed to send metrics to an OpenTSDB instance using either the telnet or HTTP mode. With the introduction of OpenTSDB 2.0, the recommended method for sending metrics is via the HTTP API, which allows for batch processing of metrics by configuring the ‘http_batch_size’. The plugin supports several configuration options including metrics prefixing, server host and port specification, URI path customization for reverse proxies, and debug options for diagnosing communication issues with OpenTSDB. This plugin is particularly useful in scenarios where time series data is generated and needs to be efficiently stored in a scalable time series database like OpenTSDB, making it suitable for a wide range of monitoring and analytics applications.

Configuration

Intel PowerStat

[[inputs.intel_powerstat]]
  # package_metrics = ["current_power_consumption", "current_dram_power_consumption", "thermal_design_power"]
  # cpu_metrics = []
  # included_cpus = []
  # excluded_cpus = []
  # event_definitions = ""
  # msr_read_timeout = "0ms"

OpenTSDB

[[outputs.opentsdb]]
  ## prefix for metrics keys
  prefix = "my.specific.prefix."

  ## DNS name of the OpenTSDB server
  ## Using "opentsdb.example.com" or "tcp://opentsdb.example.com" will use the
  ## telnet API. "http://opentsdb.example.com" will use the Http API.
  host = "opentsdb.example.com"

  ## Port of the OpenTSDB server
  port = 4242

  ## Number of data points to send to OpenTSDB in Http requests.
  ## Not used with telnet API.
  http_batch_size = 50

  ## URI Path for Http requests to OpenTSDB.
  ## Used in cases where OpenTSDB is located behind a reverse proxy.
  http_path = "/api/put"

  ## Debug true - Prints OpenTSDB communication
  debug = false

  ## Separator separates measurement name from field
  separator = "_"

Input and output integration examples

Intel PowerStat

  1. Optimizing Data Center Energy Usage: Monitor power consumption metrics across all CPUs in a data center. By capturing real-time data, administrators can identify which servers consume the most power and implement shutdowns or load balancing strategies during low demand periods, effectively reducing operational costs.

  2. Dynamic Workload Migration Based on Power Efficiency: Integrate this plugin with a cloud orchestration tool to enable dynamic migration of workloads based on power usage metrics. If a particular server is recorded as consuming excessive power without corresponding output, the orchestrator can seamlessly migrate workloads to more efficient nodes, ensuring optimal resource utilization and lower energy expenses.

  3. Monitoring and Alerting Mechanism for Overheating CPUs: Implement an alerting system using the CPU temperature metrics captured by Intel PowerStat. Setting thresholds for temperature can alert system administrators when a CPU is prone to overheating, allowing proactive measures to be taken before hardware damage occurs, ultimately extending the life of the components.

  4. Performance Benchmarking for CPU-intensive Applications: Use the metrics provided to benchmark the performance of CPU-intensive applications. By analyzing the cpu_frequency, cpu_temperature, and power metrics under load, developers can optimize application performance and make informed decisions regarding scaling and resource allocation.

OpenTSDB

  1. Real-time Infrastructure Monitoring: Utilize the OpenTSDB plugin to collect and store metrics from various infrastructure components. By configuring the plugin to push metrics to OpenTSDB, organizations can have a centralized view of their infrastructure health and performance over time.

  2. Custom Application Metrics Tracking: Integrate the OpenTSDB plugin into custom applications to track key performance indicators (KPIs) such as response times, error rates, and user interactions. This setup allows developers and product teams to visualize application performance trends and make data-driven decisions.

  3. Automated Anomaly Detection: Leverage the plugin in conjunction with machine learning algorithms to automatically detect anomalies in time-series data sent to OpenTSDB. By continuously monitoring the incoming metrics, the system can train models that alert users to potential issues before they affect application performance.

  4. Historical Data Analysis: Use the OpenTSDB plugin to store and analyze historical performance data for capacity planning and trend analysis. This provides valuable insights into system behavior over time, helping teams to understand usage patterns and prepare for future growth.

Feedback

Thank you for being part of our community! If you have any general feedback or found any bugs on these pages, we welcome and encourage your input. Please submit your feedback in the InfluxDB community Slack.

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Related Integrations

HTTP and InfluxDB Integration

The HTTP plugin collects metrics from one or more HTTP(S) endpoints. It supports various authentication methods and configuration options for data formats.

View Integration

Kafka and InfluxDB Integration

This plugin reads messages from Kafka and allows the creation of metrics based on those messages. It supports various configurations including different Kafka settings and message processing options.

View Integration

Kinesis and InfluxDB Integration

The Kinesis plugin allows for reading metrics from AWS Kinesis streams. It supports multiple input data formats and offers checkpointing features with DynamoDB for reliable message processing.

View Integration