Intel PowerStat and Google Cloud Monitoring Integration
Powerful performance with an easy integration, powered by Telegraf, the open source data connector built by InfluxData.
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 Stackdriver plugin allows users to send metrics directly to a specified project in Google Cloud Monitoring, facilitating robust monitoring capabilities across their cloud resources.
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.
Google Cloud Monitoring
This plugin writes metrics to a project in Google Cloud Monitoring, which used to be known as Stackdriver. Authentication is a prerequisite and can be achieved via service accounts or user credentials. The plugin is designed to group metrics by a namespace
variable and metric key, facilitating organized data management. However, users are encouraged to use the official
naming format for enhanced query efficiency. The plugin supports additional configurations for managing metric representation and allows tags to be treated as resource labels. Notably, it imposes certain restrictions on the data it can accept, such as not allowing string values or points that are out of chronological order.
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"
Google Cloud Monitoring
[[outputs.stackdriver]]
## GCP Project
project = "project-id"
## Quota Project
## Specifies the Google Cloud project that should be billed for metric ingestion.
## If omitted, the quota is charged to the service account’s default project.
## This is useful when sending metrics to multiple projects using a single service account.
## The caller must have the `serviceusage.services.use` permission on the specified project.
# quota_project = ""
## The namespace for the metric descriptor
## This is optional and users are encouraged to set the namespace as a
## resource label instead. If omitted it is not included in the metric name.
namespace = "telegraf"
## Metric Type Prefix
## The DNS name used with the metric type as a prefix.
# metric_type_prefix = "custom.googleapis.com"
## Metric Name Format
## Specifies the layout of the metric name, choose from:
## * path: 'metric_type_prefix_namespace_name_key'
## * official: 'metric_type_prefix/namespace_name_key/kind'
# metric_name_format = "path"
## Metric Data Type
## By default, telegraf will use whatever type the metric comes in as.
## However, for some use cases, forcing int64, may be preferred for values:
## * source: use whatever was passed in
## * double: preferred datatype to allow queries by PromQL.
# metric_data_type = "source"
## Tags as resource labels
## Tags defined in this option, when they exist, are added as a resource
## label and not included as a metric label. The values from tags override
## the values defined under the resource_labels config options.
# tags_as_resource_label = []
## Custom resource type
# resource_type = "generic_node"
## Override metric type by metric name
## Metric names matching the values here, globbing supported, will have the
## metric type set to the corresponding type.
# metric_counter = []
# metric_gauge = []
# metric_histogram = []
## NOTE: Due to the way TOML is parsed, tables must be at the END of the
## plugin definition, otherwise additional config options are read as part of
## the table
## Additional resource labels
# [outputs.stackdriver.resource_labels]
# node_id = "$HOSTNAME"
# namespace = "myapp"
# location = "eu-north0"
Input and output integration examples
Intel PowerStat
-
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.
-
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.
-
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.
-
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.
Google Cloud Monitoring
-
Multi-Project Metric Aggregation: Use this plugin to send aggregated metrics from various applications across different projects into a single Google Cloud Monitoring project. This use case helps centralize metrics for teams managing multiple applications, providing a unified view for performance monitoring and enhancing decision-making. By configuring different quota projects for billing, organizations can ensure proper cost management while benefiting from a consolidated monitoring strategy.
-
Anomaly Detection Setup: Integrate the plugin with a machine learning-based analytics tool that identifies anomalies in the collected metrics. Using the historical data provided by the plugin, the tool can learn normal baseline behavior and promptly alert the operations team when unusual patterns arise, enabling proactive troubleshooting and minimizing service disruptions.
-
Dynamic Resource Labeling: Implement dynamic tagging by utilizing the tags_as_resource_label option to adaptively attach resource labels based on runtime conditions. This setup allows metrics to provide context-sensitive information, such as varying environmental parameters or operational states, enhancing the granularity of monitoring and reporting without changing the fundamental metric structure.
-
Custom Metric Visualization Dashboards: Leverage the data collected by the Google Cloud Monitoring output plugin to feed a custom metrics visualization dashboard using a third-party framework. By visualizing metrics in real-time, teams can achieve better situational awareness, notably by correlating different metrics, improving operational decision-making, and streamlining performance management workflows.
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
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 IntegrationKafka 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 IntegrationKinesis 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