Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Nov 9, 2024
1 parent 0ae2260 commit fea42fe
Show file tree
Hide file tree
Showing 270 changed files with 23,733 additions and 20,430 deletions.
158 changes: 69 additions & 89 deletions doc/index.html

Large diffs are not rendered by default.

70 changes: 23 additions & 47 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2419,21 +2419,17 @@
"properties": {
"cacheTtlSecs": {
"type": "integer",
"format": "int32",
"title": "how long the cache will be stored before it is evicted"
"format": "int32"
},
"cacheRefreshTtlSecs": {
"type": "integer",
"format": "int32",
"title": "how long the cache will be refreshed in the background"
"format": "int32"
},
"forceRefresh": {
"type": "boolean",
"title": "force refresh the cache now"
"type": "boolean"
},
"noCache": {
"type": "boolean",
"title": "do not use cache"
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -2482,8 +2478,7 @@
"pagerdutyConfig": {
"type": "object"
}
},
"title": "TODO, finish this"
}
},
"common.Channel.Type": {
"type": "string",
Expand Down Expand Up @@ -2600,8 +2595,7 @@
"type": "object",
"properties": {
"joinOperator": {
"$ref": "#/definitions/common.JoinOperator",
"title": "not support THEN"
"$ref": "#/definitions/common.JoinOperator"
},
"groups": {
"type": "array",
Expand Down Expand Up @@ -2829,8 +2823,7 @@
"type": "string"
},
"alias": {
"type": "string",
"title": "bool enabled = 2;"
"type": "string"
},
"id": {
"type": "string"
Expand Down Expand Up @@ -3063,8 +3056,7 @@
"format": "int64"
},
"slug": {
"type": "string",
"title": "{ownerName}/{slug} is the unique name of the project"
"type": "string"
},
"ownerId": {
"type": "string"
Expand Down Expand Up @@ -3262,16 +3254,13 @@
},
"properties": {
"query": {
"type": "string",
"title": "the promql query or the metric name"
"type": "string"
},
"alias": {
"type": "string",
"title": "the alias of the query"
"type": "string"
},
"id": {
"type": "string",
"title": "the id of the query"
"type": "string"
},
"labelSelector": {
"type": "object",
Expand All @@ -3290,8 +3279,7 @@
}
},
"disabled": {
"type": "boolean",
"title": "hide the result, usually used for formula, default is false"
"type": "boolean"
}
},
"description": "the query to fetch metrics data, promql",
Expand Down Expand Up @@ -3357,8 +3345,7 @@
"items": {
"type": "object",
"$ref": "#/definitions/common.RetentionQuery.Resource"
},
"title": "only support 2 resources"
}
},
"criteria": {
"$ref": "#/definitions/common.RetentionQuery.Criteria"
Expand Down Expand Up @@ -3695,8 +3682,7 @@
}
},
"operator": {
"$ref": "#/definitions/common.JoinOperator",
"title": "default is AND"
"$ref": "#/definitions/common.JoinOperator"
}
}
},
Expand All @@ -3716,8 +3702,7 @@
"$ref": "#/definitions/common.Any"
}
}
},
"title": "TODO maybe MetricQuery should use this as well"
}
},
"common.Selector.OperatorType": {
"type": "string",
Expand All @@ -3737,9 +3722,7 @@
"IN_COHORTS",
"NOT_IN_COHORTS"
],
"default": "EQ",
"description": "- GT: Numeric operators\n - CONTAINS: String operators",
"title": "TODO add Date Value and List Value and its data type"
"default": "EQ"
},
"common.SelectorExpr": {
"type": "object",
Expand All @@ -3750,8 +3733,7 @@
"logicExpr": {
"$ref": "#/definitions/common.SelectorExpr.LogicExpr"
}
},
"title": "TODO migrate segmentationQuery to use this"
}
},
"common.SelectorExpr.LogicExpr": {
"type": "object",
Expand All @@ -3764,8 +3746,7 @@
}
},
"operator": {
"$ref": "#/definitions/common.JoinOperator",
"title": "default is AND"
"$ref": "#/definitions/common.JoinOperator"
}
}
},
Expand All @@ -3776,8 +3757,7 @@
"type": "array",
"items": {
"type": "string"
},
"title": "JoinOperator operator = 2; // this field should implement in the future"
}
}
}
},
Expand Down Expand Up @@ -3847,8 +3827,7 @@
"format": "int64"
},
"interval": {
"$ref": "#/definitions/common.Duration",
"title": "TODO remove step in favor of interval"
"$ref": "#/definitions/common.Duration"
},
"timezone": {
"type": "string"
Expand Down Expand Up @@ -3899,8 +3878,7 @@
},
"step": {
"type": "integer",
"format": "int32",
"title": "interval in seconds between each data point"
"format": "int32"
},
"timezone": {
"type": "string"
Expand Down Expand Up @@ -3998,8 +3976,7 @@
"username": {
"type": "string"
}
},
"description": "The same to user but with sensitive data removed."
}
},
"evm.AccessListItem": {
"type": "object",
Expand Down Expand Up @@ -4085,8 +4062,7 @@
"type": "string"
},
"status": {
"type": "string",
"title": "0x0: failed, 0x1: succeed"
"type": "string"
},
"error": {
"type": "string"
Expand Down
8 changes: 8 additions & 0 deletions src/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fea42fe

Please sign in to comment.