pingcap / ng-monitoring

Apache License 2.0
30 stars 22 forks source link

tsdb: update vm to v1.76.1; expose more params (#213) #214

Closed ti-chi-bot closed 9 months ago

ti-chi-bot commented 9 months ago

This is an automated cherry-pick of #213

What problem does this PR solve?

Issue Number: close #212

What is changed and how it works?

Example:

# config.toml
# ...

[tsdb]
# Data with timestamps outside the retentionPeriod is automatically deleted
# The following optional suffixes are supported: h (hour), d (day), w (week), y (year).
# If suffix isn't set, then the duration is counted in months.
retention-period = "1"
# `search-max-unique-timeseries` limits the number of unique time series a single query can find and process.
# VictoriaMetrics(tsdb) keeps in memory some metainformation about the time series located by each query
# and spends some CPU time for processing the found time series. This means that the maximum memory usage
# and CPU usage a single query can use is proportional to `search-max-unique-timeseries`.
search-max-unique-timeseries = 300000
mornyx commented 9 months ago

/lgtm

ti-chi-bot[bot] commented 9 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mornyx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/ng-monitoring/blob/release-6.5/OWNERS)~~ [mornyx] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 9 months ago

[LGTM Timeline notifier]

Timeline: