Skip to content

Commit

Permalink
Merge pull request #142 from dennybaa/update-victoria-metrics
Browse files Browse the repository at this point in the history
update victoria-metrics-operator
  • Loading branch information
Peefy authored Jun 18, 2024
2 parents 9267f58 + 67e207b commit 7fc8cbb
Show file tree
Hide file tree
Showing 16 changed files with 13,715 additions and 2,053 deletions.
4 changes: 2 additions & 2 deletions victoria-metrics-operator/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "victoria-metrics-operator"
edition = "0.0.1"
version = "0.0.1"
edition = "*"
version = "0.45.0"

[dependencies]
k8s = "1.28"
1,737 changes: 1,407 additions & 330 deletions victoria-metrics-operator/v1beta1/operator_victoriametrics_com_v1beta1_vm_agent.k

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,46 @@ schema OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0:
concurrency : int, default is Undefined, optional
Concurrency defines how many rules execute at once.
extra_filter_labels : {str:str}, default is Undefined, optional
ExtraFilterLabels optional list of label filters applied to every rule's request withing a group. Is compatible only with VM datasource. See more details at https://docs.victoriametrics.com#prometheus-querying-api-enhancements Deprecated, use params instead
ExtraFilterLabels optional list of label filters applied to every rule's
request withing a group. Is compatible only with VM datasource.
See more details at https://docs.victoriametrics.com#prometheus-querying-api-enhancements
Deprecated, use params instead
headers : [str], default is Undefined, optional
Headers contains optional HTTP headers added to each rule request Must be in form `header-name: value` For example: headers: - "CustomHeader: foo" - "CustomHeader2: bar"
Headers contains optional HTTP headers added to each rule request
Must be in form `header-name: value`
For example:
headers:
- "CustomHeader: foo"
- "CustomHeader2: bar"
interval : str, default is Undefined, optional
evaluation interval for group
labels : {str:str}, default is Undefined, optional
Labels optional list of labels added to every rule within a group. It has priority over the external labels. Labels are commonly used for adding environment or tenant-specific tag.
Labels optional list of labels added to every rule within a group.
It has priority over the external labels.
Labels are commonly used for adding environment
or tenant-specific tag.
limit : int, default is Undefined, optional
Limit the number of alerts an alerting rule and series a recording rule can produce
Limit the number of alerts an alerting rule and series a recording
rule can produce
name : str, default is Undefined, required
Name of group
notifier_headers : [str], default is Undefined, optional
NotifierHeaders contains optional HTTP headers added to each alert request which will send to notifier Must be in form `header-name: value` For example: headers: - "CustomHeader: foo" - "CustomHeader2: bar"
NotifierHeaders contains optional HTTP headers added to each alert request which will send to notifier
Must be in form `header-name: value`
For example:
headers:
- "CustomHeader: foo"
- "CustomHeader2: bar"
params : {str:[str]}, default is Undefined, optional
Params optional HTTP URL parameters added to each rule request
rules : [OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0RulesItems0], default is Undefined, required
Rules list of alert rules
tenant : str, default is Undefined, optional
Tenant id for group, can be used only with enterprise version of vmalert See more details at https://docs.victoriametrics.com/vmalert.html#multitenancy
Tenant id for group, can be used only with enterprise version of vmalert
See more details at https://docs.victoriametrics.com/vmalert.html#multitenancy
$type : str, default is Undefined, optional
Type defines datasource type for enterprise version of vmalert possible values - prometheus,graphite
Type defines datasource type for enterprise version of vmalert
possible values - prometheus,graphite
"""


Expand Down Expand Up @@ -118,19 +137,24 @@ schema OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0RulesItems0:
annotations : {str:str}, default is Undefined, optional
Annotations will be added to rule configuration
debug : bool, default is Undefined, optional
Debug enables logging for rule it useful for tracking
Debug enables logging for rule
it useful for tracking
expr : str, default is Undefined, optional
Expr is query, that will be evaluated at dataSource
$for : str, default is Undefined, optional
For evaluation interval in time.Duration format 30s, 1m, 1h or nanoseconds
For evaluation interval in time.Duration format
30s, 1m, 1h or nanoseconds
keep_firing_for : str, default is Undefined, optional
KeepFiringFor will make alert continue firing for this long even when the alerting expression no longer has results. Use time.Duration format, 30s, 1m, 1h or nanoseconds
KeepFiringFor will make alert continue firing for this long
even when the alerting expression no longer has results.
Use time.Duration format, 30s, 1m, 1h or nanoseconds
labels : {str:str}, default is Undefined, optional
Labels will be added to rule configuration
record : str, default is Undefined, optional
Record represents a query, that will be recorded to dataSource
update_entries_limit : int, default is Undefined, optional
UpdateEntriesLimit defines max number of rule's state updates stored in memory. Overrides `-rule.updateEntriesLimit` in vmalert.
UpdateEntriesLimit defines max number of rule's state updates stored in memory.
Overrides `-rule.updateEntriesLimit` in vmalert.
"""


Expand Down
Loading

0 comments on commit 7fc8cbb

Please sign in to comment.