Skip to content

TSBS DevOps — Network Errors

TSBS DevOps benchmark · all TSBS DevOps queries

Hosts with network errors

Representative SQL

Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).

SELECT
hostname,
interface,
SUM(err_in + err_out) AS total_errors,
SUM(drop_in + drop_out) AS total_drops
FROM net
WHERE
time >= '2024-01-01 19:00:00' AND time < '2024-01-01 20:00:00'
GROUP BY
hostname,
interface
HAVING
SUM(err_in + err_out + drop_in + drop_out) > 0
ORDER BY
total_errors DESC

Representative DataFrame

No DataFrame implementation is registered for this query.

Get the exact query for your run

The blocks above are representative. To get the precise statement a specific platform runs at a specific scale, substitute your own values:

from benchbox import TSBSDevOps
bench = TSBSDevOps(scale_factor=1.0) # your scale factor
queries = bench.get_queries(dialect="datafusion") # your platform's dialect; drop dialect= for native SQL
print(queries['net-errors'])

Source

Query text: benchbox/core/tsbs_devops/queries.py