logo logo

Grafana query examples prometheus

Your Choice. Your Community. Your Platform.

  • shape
  • shape
  • shape
hero image


  • This will work for any datasource. Activate the "instant" option. Query, visualize, and alert on data. To add the Prometheus data source, complete the following steps: Click Connections in the left-side menu. Jun 6, 2022 · Mixins are collections of Grafana dashboards, Prometheus alerts, and recording rules that were built from the collective experience of a system’s community. During interpolation, the variable value might be escaped in order to conform to the syntax of the query language and where it is used. The result of an expression can either be shown as a graph, viewed as tabular data in Prometheus's expression browser, or consumed by external systems via the HTTP API. To visualize test results with Grafana, you can import the k6 Prometheus dashboard by Grafana k6. ") The label_values query, as described in Grafana documentation, takes either a label name or a label name and a metric name. The average is calculated independently per each matching time series. This feature can be seen on Grafana Bar Charts and Pie Charts. > sudo useradd -rs /bin/false prometheus. You can create queries with the Microsoft SQL Server data source’s query editor when editing a panel that uses a MS SQL data source. yml is the configuartion file for promethues so it knows what exporters to connect to. May 27, 2021 · This query lists all of the Pods with any kind of issue. Select Prometheus. The MongoDB query editor. Add Prometheus and fill out the URL, authentication, scrape interval, and data source name. Elasticsearch is a search and analytics engine used for a variety of use cases. This topic describes queries, templates, variables, and other configuration specific to the CloudWatch data source. It is always safe to use ". The snmp_exporter exposes information collected by SNMP to be used by the Prometheus monitoring system. Press save Sep 28, 2020 · Let’s break the good news first: Grafana 7. The purpose of this post is to explain the value of Prometheus’ relabel_config block, the different places where it can be found, and its usefulness in taming Prometheus metrics. api-token-file flag (providing an API token from a file). Trace discovery in Grafana Tempo using Prometheus exemplars, Loki 2. As datasource i am using Prometheus and the type of variable is Query. That last part can be a real lifesaver when you’re trying to figure out where to look for the root cause of an incident when you’re paged at 3 o’clock in the morning! . Note on the "Instant" setting: This setting switches from a Before queries are sent to your data source the query is interpolated, meaning the variable is replaced with its current value. +" unless you intentionally want to match specific character zero or more occurances. Under Your connections, click Data sources. Multiple prometheus. So the following query should select all the values for label xyx across metrics with names matching application_. Using datalinks in grafana, to parse values in your url you can use $__cell_0 and if you need to do some formatting you can use ${__cell_3:raw}, like below: To create a Prometheus data source in Grafana: Click on the "cogwheel" in the sidebar to open the Configuration menu. While RabbitMQ management UI also provides access to a subset of metrics, it by design Mar 21, 2022 · Relabeling is a powerful tool that allows you to classify and filter Prometheus targets and metrics by rewriting their label set. downstream_url. You can display an expression’s return either as a graph or export it using the HTTP API. Jul 18, 2022 · This is a great example of how innovation at Grafana Labs can be kickstarted by anyone and how we don’t let good ideas just wither on a Git branch. Click the Query tab. Grafana refers to such variables as template variables. Note that the label filter is a regular expression “=~”, which is required to allow “All” or “multiple” clusters to be selected in the drop-down menu. round(sum(increase(http_requests_total[$__range]))) or. 1. Ah, got it. com and localhost:9090 and node_exporter and mysqld_exporter both are running successfully localhost:9100 and 9104. Set the data source’s basic configuration options. servers. The scraped metrics are forwarded to the list of receivers passed in forward_to. Click the Grafana Logo to get the side toolbar, and then click “+” followed by “Dashboard”: Querying Prometheus. Expressions work with data source queries that return time series or number data. To enable selection of datasources from an existing Grafana installation, set the --grafana. Multiple resources can also be selected as long as they belong to the same subscription, region and resource Jan 10, 2020 · Prometheus treats metric names the same way as label values with a special label - __name__. Once we have the right metric coordinates captured, it’s time to create our first Prometheus Grafana dashboard. The following will help you get started working with Elasticsearch and Grafana: May 18, 2023 · Leave all filters and aggregations as is and just add the “cluster” part. To see variable settings, navigate to Dashboard Settings > Variables. downstream-url or its YAML equivalent, frontend. If you want to filter the values returned, use the Regex field just below Query. Jan 8, 2020 · With MySQL datasource in Query Editor, we can write SQL queries, like “select * from …” I dont see the same option with Prometheus datasource, am I missing something or I need to install a plugin ? Using Grafana v6. Jul 22, 2016 · Go to the "Queries" tab: Enter the name (here db2_prometheus_adapter_info) of the metric. Bar chart. Select MySQL. We recently You can also write your SQL query directly in a code editor by using Code mode. You can start to explore its metrics right away. Click Query options to configure the maximum number of data points you need. If you are wondering why one should use a tool like Grafana when one can query and see the graphs using Prometheus, the answer is that the graph that we see when we run queries on Prometheus is to run ad-hoc queries. I want the exact regex to extract for ex: Running::armada-api-5ff69858bd-npnl6 Running::cm-cert-manager-856678cfb7-fgbdb Running::cm-cert-manager-856678cfb7-x64v2 Running::cm-cert-manager-cainjector-85849bd97-7jbws Running::cm-cert-manager-cainjector-85849bd97-k4xtc Jan 18, 2019 · If you want to retrieve the value of a metric you should use query_result(), metrics() gives you the name of matching metrics, not the value itself. Bar charts allow you to graph categorical data. Jun 29, 2023 · That’s why we’re adding a feature to enhance metric browsing in the Prometheus query builder in addition to the metric select. Flux query editor. To troubleshoot configuration and Aug 12, 2019 · My prometheus query returns 0 and 1, but after adding it to annotations, I don’t see it displayed. Click Add new data source in the upper right. * ([^\ ]*) . Now as per the table x* (* implies x*) and hence the match will be on zero or more occurance of x (in your case /). Monitor Mainflux with Prometheus and Grafana Cloud The open source project Mainflux from The Mainflux Project provides a Prometheus exporter so that you can aggregate, scrape, and push metrics to a Prometheus-compatible database. View the raw query. *" or ". but i am not able to make it work. Can someone please help me with this. Prometheus provides a functional query language called PromQL (Prometheus Query Language) that lets the user select and aggregate time series data in real time. This topic explains querying specific to the MS SQL data source. my prometheus query is properly displaying as a range vector with values between 0 and 1, but annotations are not displayed in panels Here is my promql query: max ( #over the web nodes maintaining counters inc The query frontend operates in one of two ways: Specify --frontend. Not all panels will have template queries. Log query examples Examples that filter on IP address. Dec 23, 2020 · Things to observe: The query builder UI for the TestData DB data source is very different than for the Prometheus data source; The broader generalization of the previous observation is that because each type of data source has its own query capabilities, Grafana presents a query builder UI specific to them But, you can use the regex field inside Grafana. On the Dashboards UI: Click New and select Import. (And don’t feel left out if you’re an advanced user. Setting up Prometheus and Grafana is a breeze using helm. For example, to show only the method and status labels of a returned query result, separated by a dash, you could use the legend format string Enter any Prometheus expression into the "Query" field, while using the "Metric" field to lookup metrics via autocompletion. yml and pve. There are two types of LogQL queries: Log queries return the contents of log lines. To create a Metrics query: In a Grafana panel, select the Azure Monitor data source. Click a variable in the list to see its settings. 2 Sep 30, 2021 · Grafana Prometheus. They track the number of observations and the sum of the observed values, allowing you to calculate the average of the observed values. Only users with the organization administrator role can add data sources. For more information and connection details, refer to 1. MongoDB visualization. Return log lines that are not within a range of IPv4 addresses: Feb 19, 2019 · I'm displaying Prometheus query on a Grafana table. Enter any Prometheus expression into the "Query" field, while using the "Metric" field to lookup metrics via autocompletion. url flag to the URL of your Grafana installation, as well as either the --grafana. For more information on supported data Jan 27, 2022 · In the one-minute tutorial video below, we show you how to build a query in Grafana 8. To format the legend names of time series, use the "Legend format" input. downstream-url or its yaml equivalent frontend. If you go into the Grafana Play dashboard I just mentioned, you can click on the Explore icon. Edit the panel to which you’re adding a query. downstream_url, the query frontend defaults to a pull service. 8 this is not working, its bug). This page provides examples of calls to the Grafana API using cURL. The PromQL query filters and aggregates the data to provide you the insight you need. You can create many types of queries to visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events stored in Elasticsearch. Mar 20, 2019 · This will just as much not work if the query is simply label_values(job=~". grafana. If you are already familiar with PromQL, you can simply enter your query in the text field and run the query. extend observability. Grafana dashboards consist of visualizations populated by data queried from the Prometheus data source. They also operate on multiple-dimensional data. Without --frontend. For options and functions common to all query editors, see Query editors. Grafana Cloud is the easiest way to get started with metrics, logs, traces, and dashboards. For general documentation on querying data sources in Grafana, see Query and transform data. Under Connections, click Add new connection. *Count_total regexp: Jan 27, 2022 · This one-minute guide shows you how to build a Prometheus query in Grafana 8. yml file looks like this Mar 29, 2023 · For example, if the Prometheus metrics data shows that a pod is down or a node is unreachable, an alert can be configured to fire and send a notification to the designated channels. For example, avg_over_time(metric[1h]) calculates average values for Learn how to monitor a Linux host with Prometheus, Node Exporter, and Docker Compose. Apr 8, 2020 · In addition, it reuses a very similar query language as Prometheus, enabling you to work with logs and Prometheus metrics with the same variables and queries. PromQL, short for Prometheus Querying Language, is the main way to query metrics within Prometheus. Explore Grafana’s dashboard UI is all about building dashboards for visualization. Grafana ships with built-in support for Amazon CloudWatch. For example, consul_service_tags metric exposes a set of tags, which can be joined to metrics via (service_name, node) labels. Choose “Robust Perception Sample” from the drop-down menu, search for the alertmanager_build_info metric, and then click Run Query. 8 and higher. Enter the snmp_exporter. 5. Mar 22, 2021 · Next I need to make query over 2nd metric using host values from 1st query. Once you’ve added the Loki data source, you can configure it so that your Grafana instance’s users can create queries in its query editor when they build dashboards, use Explore, and annotate visualizations. Feb 23, 2023 · Set up your Prometheus data source in Grafana. Since you are using grafana you can set decimals to 0 in standard options. Jun 15, 2017 · Is there a way to do a group by query on Prometheus database like there’s for Graphite databases? Documentation Dashboards Plugins Get Grafana Grafana Labs Community Forums Jun 9, 2017 · It is a good practice in Prometheus ecosystem to expose additional labels, which can be joined to multiple metrics, via a separate info -like metric as explained in this article. Alternately, you can have Prometheus up and running without going through this setup by using Grafana Cloud. That's the query (Counter metric):sum(increase(check_fail{app="monitor"}[20m])) by (reason) The result is a table of failure reason and its count. Click on "Add data source". The following will help you get started working with MongoDB and Grafana: Configure the MongoDB data source. I could enter the /b$/ regex to match results Dec 3, 2019 · We have a situation where we need to select the multiple values (instances/servers) from grafana variable field, and multiple values needs to passed to the Prometheus query using some regex, so that i can see selected hosts metrics in single graph. oalimerko September 30, 2021, 12:51pm 1. At the top of the example pictured below is a Prometheus query. Variables can be used in titles, descriptions, text panels, and queries. If your data source is configured for Flux, you can use the Flux query and scripting language in the query editor, which serves as a text editor for raw Flux queries with macro support. Jan 22, 2019 · Here are some examples of a Prometheus Grafana dashboard. An example of a popular mixin is the Oct 12, 2023 · For example, Prometheus exposes PromQL for time series data, and the MySQL data source exposes SQL query language. org tip, I did not know it existed! As for the PromQL, with the help of Grafana Slack members I have recently learned that Loki’s Prometheus endpoint (localhost:3100/loki) uses LogQL, not PromQL. In most cases of graphing rate queries, it will be the right choice to simply use $__rate_interval as the range. Then ensure that the "auto" is selected in corresponding drop-down list at the top of the dashboard. If you’re creating a new dashboard, you’ll be prompted to select a data source when you add the first panel. i’m using this site to install all the process Graphing MySQL performance with Prometheus and Grafana - Percona Database Mar 31, 2020 · As with the Prometheus example, Ocenas recommended using a predefined configuration template to make sure the final labels are the same in Prometheus and Loki. Apr 5, 2020 · @ivanahuckova, Thank You very much for the https://play. * will fill the variable with all possible values that exists in that wildcard position (in the case of the Graphite Data Source). First of all, make the data source a variable so that the dashboard is not limited to any specific Prometheus instance. Enter MySQL in the search bar. Count and sum of observations. Add an ad hoc filter table. The kube-prometheus-stack helm chart is one the most popular ones. 6 and i’m trying to extract some content from my data. For example, a query that returns multiple series, where each series is identified by labels or tags. The join is usually performed via on Jul 7, 2023 · The same basic techniques apply to all SQL databases, so whether you are on MySQL, PostgreSQL or any other relational database, you can inspect this example on Grafana Play and use it as a reference while you are building your next query. Grafana lists these variables in dropdown select boxes at the top of the dashboard to help you change the data displayed in your dashboard. I have created a variable called PQ. Enter the label name as the legend using the {{[LABEL]}} notation (here {{app_state}} ). It helps you iterate until you have a working query and then think about building a dashboard. To see the raw text of the query that Grafana sends to Graphite, click the Toggle text edit mode (pencil) icon. scrape. Configuring the snmp_exporter. These LogQL query examples have explanations of what the queries accomplish. You can then create, manage, and take action on your alerts from a single, consolidated view, and improve Mar 9, 2016 · Covered in this article: Lucene Query Format Templated Queries Sawtooth-Like Graphs Incomplete data at the beginning and the end of a graph Sum function broken About one year after I created an issue at Grafana’s GitHub page, we finally have support for using Elasticsearch as a time series database! At that time, I was trying to lower the burden of adopting the open source Java performance Nov 28, 2018 · For example a query like prod. LogQL uses labels and operators for filtering. Grafana provides a query editor for the Prometheus data source to create queries in PromQL. Let’s dive a bit deeper into this topic to understand how $__rate_interval manages to pick the right powered by Grafana Mimir and Prometheus. . My prometheus. Select the Prometheus data source, and click Import. Adjust other data source settings as desired (for example, choosing the right Access method). So let’s see how the Prometheus query builder actually works. Name: namespace Label: namespace Query: query_result(kube_namespace_labels) Regex: /. So you can add template and query using label_values for Prometheus query in Grafana. An Intro to PromQL: Basic Concepts & Examples. Feb 1, 2022 · Here at Grafana Labs, we are often asked how one can monitor network devices and visualize their data in Grafana dashboards. Histograms and summaries both sample observations, typically request durations or response sizes. An individual expression takes one or more queries or other expressions as input and adds data to the result. Aug 16, 2017 · Long answer: Prometheus provides two functions for calculating the average: avg_over_time calculates the average over raw sample stored in the database on the lookbehind window specified in square brackets. Enable "Auto Option", adjust "Step count" to be equal 1. 3 on your own or with the help of the Grafana metrics browser. Paste the Grafana URL or ID of the dashboard, and click Load. metric_2{domain="exmple-0,1,2. Your Query should be: query_result(passed_tests_total{job="MyJob"}) And the Regex to extract just the value of metric should be /. Explore strips away the dashboard and panel options so that you can focus on the query. Grafana. Example of a drop-down menu. For more information about PromQL, see Querying Prometheus. Select the Metrics service. Prometheus is serving metrics about itself. Click the Data source drop-down menu and select a data source. Refer to Role-based access control in Grafana Enterprise to understand how you can control access with role-based permissions Dec 7, 2021 · I want to shorten the metric name or i want to add particular part of the metric name to display it on the chart or table. Optionally, when running the test, you can set the testid tag as a wide test tag Administrators can also configure the data source via YAML with Grafana’s provisioning system. 0 queries, and more In this blog, we’ll explain how to use other data sources for trace discovery in Grafana Tempo, our new distributed tracing backend. A query is the foundation of every visualization in Grafana, and a dashboard might use a range of query languages. Queries act as if they are a distributed grep to aggregate log sources. 2, released only last Wednesday, introduced a new variable called $__rate_interval. Having the same labels allows you to run similar queries and get data that is correlated across the apps. *namespace="([^"]*). Aug 4, 2021 · The Prometheus Node Exporter and Grafana Agent have support for a textfile collector. Expand table. The suggestions appear after typing a space, comma, or dollar ( $) character, or the keyboard combination CTRL + Space. Enter Prometheus in the search bar. The Settings tab of the data source is displayed. Oct 29, 2023 · So I created a query variable on a grafana dashboard which contains all instance names: image 581×619 29. Queries. These tools together form a powerful toolkit for long-term metric collection and monitoring of RabbitMQ clusters. Prometheus uses a query language called PromQL. PromQL uses three data types: scalars, range vectors, and instant vectors. Go to configuration → data sources and click “Add data source”. May 22, 2024 · Before you start Promethues and prometheus-pve-exporter. scrape components can be specified by giving them different labels. Query, visualize, and alert on data powered by Grafana Mimir and Prometheus. With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. Note that the number of observations (showing up in Prometheus as a time series It can handle all types of Graphite queries, including complex nested queries through the use of query references. Grafana supports Flux when running InfluxDB v1. 1 KB. */. The MongoDB data source plugin allows you to visualize data from MongoDB in Grafana. prometheus. It should look Bar chart. Prometheus template variables. Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables. Queries with text that starts with $ are templates. For example, a variable used in a regex expression in an InfluxDB or Prometheus Using Grafana Alerting, you create queries and expressions from multiple data sources — no matter where your data is stored — giving you the flexibility to combine your data and alert on your metrics and logs in new and unique ways. For example, to show only the method and status labels of a returned query result, separated by a dash, you could use the legend format string Dec 13, 2021 · Athena is an interactive serverless service that makes it easy to analyze data in Amazon S3 using standard SQL. For instructions on how to add a data source to Grafana, refer to the administration documentation . To store your Mainflux application’s Prometheus metrics in a scalable, long-term remote storage service such as Grafana Cloud’s fully-managed Mimir database Jan 8, 2021 · Follow the steps to set up Prometheus ( download → extract → configure → start → explore and play ). This proxies requests over HTTP to the specified URL. Elasticsearch data source. Select a resource from which to query metrics by using the subscription, resource group, resource type, and resource fields. scrape configures a Prometheus scraping job for a given set of targets. You will be taken to the Settings tab where you will set up your Prometheus configuration. Nov 6, 2017 · Increase results in fractional values due to extrapollation at boundaries as well. This can be toggled on or off in the data source configuration or provisioning file (under incrementalQuerying in jsonData). To access the data source configuration page: Click Connections in the left-side menu. I see the required values on the bottom of this page: So I try to use this variable now to create a dashboard panel in the filter. Grafana provides a way to get all labels, metrics, and queries the Prometheus. 8 compatibility. As is common practice with Prometheus queries Jun 27, 2022 · Prometheus and Grafana offer first-class support for Kubernetes. 3. Configure the data source. */ Datasource: Prometheus. Let's assume you name it timeRange, then the query will look like this: This variable will not be adjusted by graph resolution and if you select "Last 10 hours" its value will be 10h. This could be the first step for troubleshooting a situation. Go to the "Visualization" tab: Choose the value "Name" under "Value - Stat". If you are new to PromQL or need to brush up on your Incremental dashboard queries (beta) As of Grafana 10, the Prometheus data source can be configured to query live dashboards incrementally, instead of re-querying the entire duration on each dashboard refresh. Much of the content here also The following binary arithmetic operators exist in Prometheus: + (addition) - (subtraction) * (multiplication) / (division) % (modulo) ^ (power/exponentiation) Binary arithmetic operators are defined between scalar/scalar, vector/scalar, and vector/vector value pairs. Click on "Data Sources". Athena also integrates with AWS Glue Data Catalog, which allows you to create tables and query data based on a central metadata store of many LogQL is Grafana Loki’s PromQL-inspired query language. In this case, we recommend directly interacting with the Prometheus HTTP API. Rounding functions with the query also worked for me. It does not take a match to do whatever you wanted it to do. The open source project JHipster from JHipster, Inc provides a Prometheus exporter so that you can aggregate, scrape, and push metrics to a Prometheus-compatible database. Here I'm using Prometheus, but again the actual query and datasource does not matter. MongoDB is a distributed document database. How the Grafana Prometheus query builder helps write queries Metric and labels filter. Between two scalars, the behavior is obvious: they evaluate to another scalar Aug 16, 2018 · This query uses last_over_time() function for selecting all the time series, which were active during the last day. api-token flag (providing an API token directly as a flag) or the --grafana. The following dashboards in Grafana Play provide examples For example, Prometheus data sources utilize PromQL, while LogQL is used for logs, and particular databases employ SQL. May 8, 2017 · Hello Grafana Team, I install grafana with prometheus running on individual post community. Athena supports a wide variety of data formats including CSV, JSON, ORC, Arvo, and Parquet. yml. You can see the variable contains the desired value in the panel name: But it says “No data”. Get started with Grafana Cloud's quickstart guide. Queries for Prometheus Tables for Prometheus. org"} So the question is, how I can pass label_values to 2nd query? As far as I understand, I can use label_values() only for variables in grafana panel, so I can't write one query that will do that for me. So for example, say I have a query returning container IDs: And I only wanted the container IDs that ended with the letter "b". The code editor has a built-in autocomplete feature that suggests keywords, aggregations, namespaces, metrics, labels, and label values. Let’s start with a Prometheus data source. Hello @all, I have Grafana v 7. Give it a try using Grafana Play. This allows the agent to parse and collect a text file containing metrics in the Prometheus exposition format. we need to create our prometheus. Jun 10, 2019 · First, create a Prometheus user on your instance if it is not already existing. My goal is to extract the value of label Query examples. Grafana Tempo. Time series can stop receiving new samples and become inactive at any time. As a quick reminder, with this command, you will create a system ( -r) user named prometheus with a no shell access ( -s) This is the user you will use to create your MySQL exporter service. Create a Prometheus Grafana Dashboard. Now, let’s add Prometheus as the data source in Grafana. (in grafana 9. Mar 14, 2020 · Hello! Do i have any possibility to “manipulate” the values of a metric exept using math operators, [any]_over_time, any funktion that is combining / grouping values… For example like - if a metric-value > 0 then set metric-value 1 I just ended up that i was able to filter and only passing values > 0 Thank you! Kind Regards chackl Feb 21, 2019 · As per this using * is tricky, it is considered as x* (where x is last non-empty character preceeding *). They can be static dashboard and rules files, or more often Jsonnet programs that you can include in your observability deployment pipeline. Aug 15, 2020 · Grafana has built-in support for Prometheus and the concept of the variable is the icing on the cake if used correctly. Select "Prometheus" as the type. This functionality is important for quickly generating static metrics containing metadata that’s useful for PromQL queries. If you have a large number of active series or larger endpoints (100k’s of series and bigger), the analytical Prometheus queries might run longer than the Grafana Explorer is configured to wait. 3. High-scale distributed tracing backend. Metric queries extend log queries to calculate values based on query results. 3 with Grafana’s easy-to-use Explore mode. With those steps, we’ve gone from raw numbers, generated by software, into Prometheus, delivered to Grafana, queried by PromQL, and visualized by Grafana. To store your JHipster application’s Prometheus metrics in a scalable, long-term remote storage service such as Grafana Cloud’s fully-managed Mimir database, follow one To create a Prometheus data source in Grafana: Click on the "cogwheel" in the sidebar to open the Configuration menu. Analyze metrics usage with the Prometheus API. At first pass, the snmp_exporter can appear a bit daunting. sum by (namespace) (kube_pod_status_ready{condition= "false" }) Code language: JavaScript (javascript) These are the top 10 practical PromQL examples for monitoring Kubernetes 🔥📊 Click to tweet. In this tutorial we will create a simple dashboard using Grafana to visualize the ping_request_count metric that we instrumented in the previous tutorial. observability, regex, templating, query-help. The paginated and searchable metrics explorer will help engineers get more comfortable with PromQL, which will help them build better, more insightful queries. You In Grafana, queries play a vital role in fetching and transforming data from supported data sources, which include databases like MySQL and PostgreSQL, time series databases like Prometheus, InfluxDB and Graphite, and services like Elasticsearch, AWS CloudWatch, Azure Monitor and Google Cloud Monitoring. 1. This guide covers RabbitMQ monitoring with two popular tools: Prometheus, a monitoring toolkit; and Grafana, a metrics visualisation system. zw op qd vg ip vn ta bp cz su