@pulumiverse/grafana 2.25.2 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cloud/v1alpha1/index.d.ts +3 -0
- package/cloud/v1alpha1/index.js +6 -1
- package/cloud/v1alpha1/index.js.map +1 -1
- package/cloud/v1alpha1/productActivationDbO11yConfig.d.ts +106 -0
- package/cloud/v1alpha1/productActivationDbO11yConfig.js +85 -0
- package/cloud/v1alpha1/productActivationDbO11yConfig.js.map +1 -0
- package/enterprise/scimConfig.d.ts +33 -2
- package/enterprise/scimConfig.js +33 -2
- package/enterprise/scimConfig.js.map +1 -1
- package/package.json +2 -2
- package/slo/getSlos.d.ts +26 -7
- package/slo/getSlos.js +12 -6
- package/slo/getSlos.js.map +1 -1
- package/slo/index.d.ts +1 -1
- package/slo/slo.d.ts +15 -15
- package/slo/slo.js +0 -9
- package/slo/slo.js.map +1 -1
- package/types/input.d.ts +522 -0
- package/types/output.d.ts +110 -62
package/types/output.d.ts
CHANGED
|
@@ -4104,6 +4104,50 @@ export declare namespace cloud {
|
|
|
4104
4104
|
*/
|
|
4105
4105
|
enabled: boolean;
|
|
4106
4106
|
}
|
|
4107
|
+
interface ProductActivationDbO11yConfigMetadata {
|
|
4108
|
+
/**
|
|
4109
|
+
* Annotations of the resource.
|
|
4110
|
+
*/
|
|
4111
|
+
annotations: {
|
|
4112
|
+
[key: string]: string;
|
|
4113
|
+
};
|
|
4114
|
+
/**
|
|
4115
|
+
* The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
|
|
4116
|
+
*/
|
|
4117
|
+
folderUid?: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* The unique identifier of the resource.
|
|
4120
|
+
*/
|
|
4121
|
+
uid: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* The full URL of the resource.
|
|
4124
|
+
*/
|
|
4125
|
+
url: string;
|
|
4126
|
+
/**
|
|
4127
|
+
* The globally unique identifier of a resource, used by the API for tracking.
|
|
4128
|
+
*/
|
|
4129
|
+
uuid: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* The version of the resource.
|
|
4132
|
+
*/
|
|
4133
|
+
version: string;
|
|
4134
|
+
}
|
|
4135
|
+
interface ProductActivationDbO11yConfigOptions {
|
|
4136
|
+
/**
|
|
4137
|
+
* Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
|
|
4138
|
+
*/
|
|
4139
|
+
managerIdentity?: string;
|
|
4140
|
+
/**
|
|
4141
|
+
* Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
|
|
4142
|
+
*/
|
|
4143
|
+
overwrite?: boolean;
|
|
4144
|
+
}
|
|
4145
|
+
interface ProductActivationDbO11yConfigSpec {
|
|
4146
|
+
/**
|
|
4147
|
+
* Whether database observability is enabled.
|
|
4148
|
+
*/
|
|
4149
|
+
enabled: boolean;
|
|
4150
|
+
}
|
|
4107
4151
|
interface ProductActivationK8sO11yConfigMetadata {
|
|
4108
4152
|
/**
|
|
4109
4153
|
* Annotations of the resource.
|
|
@@ -5855,239 +5899,237 @@ export declare namespace oss {
|
|
|
5855
5899
|
export declare namespace slo {
|
|
5856
5900
|
interface GetSlosSlo {
|
|
5857
5901
|
/**
|
|
5858
|
-
*
|
|
5859
|
-
* time window associated with the SLO. Grafana SLOs can generate
|
|
5860
|
-
* alerts when the short-term error budget burn is very high, the
|
|
5861
|
-
* long-term error budget burn rate is high, or when the remaining
|
|
5862
|
-
* error budget is below a certain threshold. Annotations and Labels support templating.
|
|
5902
|
+
* Alerting configuration for the SLO.
|
|
5863
5903
|
*/
|
|
5864
|
-
alertings
|
|
5904
|
+
alertings?: outputs.slo.GetSlosSloAlerting[];
|
|
5865
5905
|
/**
|
|
5866
|
-
* Description
|
|
5906
|
+
* Description of the SLO.
|
|
5867
5907
|
*/
|
|
5868
5908
|
description: string;
|
|
5869
5909
|
/**
|
|
5870
|
-
* Destination
|
|
5910
|
+
* Destination datasource configuration.
|
|
5871
5911
|
*/
|
|
5872
|
-
destinationDatasources
|
|
5912
|
+
destinationDatasources?: outputs.slo.GetSlosSloDestinationDatasource[];
|
|
5873
5913
|
/**
|
|
5874
|
-
*
|
|
5914
|
+
* Labels attached to the SLO.
|
|
5875
5915
|
*/
|
|
5876
|
-
|
|
5877
|
-
/**
|
|
5878
|
-
* Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]*$"
|
|
5879
|
-
*/
|
|
5880
|
-
labels: outputs.slo.GetSlosSloLabel[];
|
|
5916
|
+
labels?: outputs.slo.GetSlosSloLabel[];
|
|
5881
5917
|
/**
|
|
5882
|
-
* Name
|
|
5918
|
+
* Name of the SLO.
|
|
5883
5919
|
*/
|
|
5884
5920
|
name: string;
|
|
5885
5921
|
/**
|
|
5886
|
-
*
|
|
5922
|
+
* Objectives for the SLO.
|
|
5887
5923
|
*/
|
|
5888
|
-
objectives
|
|
5924
|
+
objectives?: outputs.slo.GetSlosSloObjective[];
|
|
5889
5925
|
/**
|
|
5890
|
-
* Query
|
|
5926
|
+
* Query configuration for the SLO.
|
|
5891
5927
|
*/
|
|
5892
|
-
queries
|
|
5928
|
+
queries?: outputs.slo.GetSlosSloQuery[];
|
|
5893
5929
|
/**
|
|
5894
|
-
* The
|
|
5930
|
+
* The search expression associated with this SLO.
|
|
5895
5931
|
*/
|
|
5896
5932
|
searchExpression: string;
|
|
5897
5933
|
/**
|
|
5898
|
-
* A unique, random identifier. This value
|
|
5934
|
+
* A unique, random identifier. This value is read-only.
|
|
5899
5935
|
*/
|
|
5900
5936
|
uuid: string;
|
|
5901
5937
|
}
|
|
5902
5938
|
interface GetSlosSloAlerting {
|
|
5903
5939
|
/**
|
|
5904
|
-
* Advanced
|
|
5940
|
+
* Advanced alerting options.
|
|
5905
5941
|
*/
|
|
5906
5942
|
advancedOptions?: outputs.slo.GetSlosSloAlertingAdvancedOptions;
|
|
5907
5943
|
/**
|
|
5908
|
-
* Annotations
|
|
5944
|
+
* Annotations attached to alerts.
|
|
5909
5945
|
*/
|
|
5910
5946
|
annotations?: outputs.slo.GetSlosSloAlertingAnnotation[];
|
|
5911
5947
|
/**
|
|
5912
|
-
*
|
|
5948
|
+
* Fast burn alert configuration.
|
|
5913
5949
|
*/
|
|
5914
5950
|
fastburn?: outputs.slo.GetSlosSloAlertingFastburn;
|
|
5915
5951
|
/**
|
|
5916
|
-
* Labels
|
|
5952
|
+
* Labels attached to alerts.
|
|
5917
5953
|
*/
|
|
5918
5954
|
labels?: outputs.slo.GetSlosSloAlertingLabel[];
|
|
5919
5955
|
/**
|
|
5920
|
-
*
|
|
5956
|
+
* Slow burn alert configuration.
|
|
5921
5957
|
*/
|
|
5922
5958
|
slowburn?: outputs.slo.GetSlosSloAlertingSlowburn;
|
|
5923
5959
|
}
|
|
5924
5960
|
interface GetSlosSloAlertingAdvancedOptions {
|
|
5925
5961
|
/**
|
|
5926
|
-
* Minimum number of
|
|
5962
|
+
* Minimum number of failures before alerting.
|
|
5927
5963
|
*/
|
|
5928
|
-
minFailures
|
|
5964
|
+
minFailures: number;
|
|
5929
5965
|
}
|
|
5930
5966
|
interface GetSlosSloAlertingAnnotation {
|
|
5931
5967
|
/**
|
|
5932
|
-
* Key for filtering and identification
|
|
5968
|
+
* Key for filtering and identification.
|
|
5933
5969
|
*/
|
|
5934
5970
|
key: string;
|
|
5935
5971
|
/**
|
|
5936
|
-
* Templatable value
|
|
5972
|
+
* Templatable value.
|
|
5937
5973
|
*/
|
|
5938
5974
|
value: string;
|
|
5939
5975
|
}
|
|
5940
5976
|
interface GetSlosSloAlertingFastburn {
|
|
5941
5977
|
/**
|
|
5942
|
-
* Annotations
|
|
5978
|
+
* Annotations for fast burn alerts.
|
|
5943
5979
|
*/
|
|
5944
5980
|
annotations?: outputs.slo.GetSlosSloAlertingFastburnAnnotation[];
|
|
5945
5981
|
/**
|
|
5946
|
-
* Enrichments
|
|
5982
|
+
* Enrichments for fast burn alerts.
|
|
5947
5983
|
*/
|
|
5948
5984
|
enrichments?: outputs.slo.GetSlosSloAlertingFastburnEnrichment[];
|
|
5949
5985
|
/**
|
|
5950
|
-
* Labels
|
|
5986
|
+
* Labels for fast burn alerts.
|
|
5951
5987
|
*/
|
|
5952
5988
|
labels?: outputs.slo.GetSlosSloAlertingFastburnLabel[];
|
|
5953
5989
|
}
|
|
5954
5990
|
interface GetSlosSloAlertingFastburnAnnotation {
|
|
5955
5991
|
/**
|
|
5956
|
-
* Key for filtering and identification
|
|
5992
|
+
* Key for filtering and identification.
|
|
5957
5993
|
*/
|
|
5958
5994
|
key: string;
|
|
5959
5995
|
/**
|
|
5960
|
-
* Templatable value
|
|
5996
|
+
* Templatable value.
|
|
5961
5997
|
*/
|
|
5962
5998
|
value: string;
|
|
5963
5999
|
}
|
|
5964
6000
|
interface GetSlosSloAlertingFastburnEnrichment {
|
|
5965
6001
|
/**
|
|
5966
|
-
* Type of the alert enrichment.
|
|
6002
|
+
* Type of the alert enrichment.
|
|
5967
6003
|
*/
|
|
5968
6004
|
type: string;
|
|
5969
6005
|
}
|
|
5970
6006
|
interface GetSlosSloAlertingFastburnLabel {
|
|
5971
6007
|
/**
|
|
5972
|
-
* Key for filtering and identification
|
|
6008
|
+
* Key for filtering and identification.
|
|
5973
6009
|
*/
|
|
5974
6010
|
key: string;
|
|
5975
6011
|
/**
|
|
5976
|
-
* Templatable value
|
|
6012
|
+
* Templatable value.
|
|
5977
6013
|
*/
|
|
5978
6014
|
value: string;
|
|
5979
6015
|
}
|
|
5980
6016
|
interface GetSlosSloAlertingLabel {
|
|
5981
6017
|
/**
|
|
5982
|
-
* Key for filtering and identification
|
|
6018
|
+
* Key for filtering and identification.
|
|
5983
6019
|
*/
|
|
5984
6020
|
key: string;
|
|
5985
6021
|
/**
|
|
5986
|
-
* Templatable value
|
|
6022
|
+
* Templatable value.
|
|
5987
6023
|
*/
|
|
5988
6024
|
value: string;
|
|
5989
6025
|
}
|
|
5990
6026
|
interface GetSlosSloAlertingSlowburn {
|
|
5991
6027
|
/**
|
|
5992
|
-
* Annotations
|
|
6028
|
+
* Annotations for slow burn alerts.
|
|
5993
6029
|
*/
|
|
5994
6030
|
annotations?: outputs.slo.GetSlosSloAlertingSlowburnAnnotation[];
|
|
5995
6031
|
/**
|
|
5996
|
-
* Enrichments
|
|
6032
|
+
* Enrichments for slow burn alerts.
|
|
5997
6033
|
*/
|
|
5998
6034
|
enrichments?: outputs.slo.GetSlosSloAlertingSlowburnEnrichment[];
|
|
5999
6035
|
/**
|
|
6000
|
-
* Labels
|
|
6036
|
+
* Labels for slow burn alerts.
|
|
6001
6037
|
*/
|
|
6002
6038
|
labels?: outputs.slo.GetSlosSloAlertingSlowburnLabel[];
|
|
6003
6039
|
}
|
|
6004
6040
|
interface GetSlosSloAlertingSlowburnAnnotation {
|
|
6005
6041
|
/**
|
|
6006
|
-
* Key for filtering and identification
|
|
6042
|
+
* Key for filtering and identification.
|
|
6007
6043
|
*/
|
|
6008
6044
|
key: string;
|
|
6009
6045
|
/**
|
|
6010
|
-
* Templatable value
|
|
6046
|
+
* Templatable value.
|
|
6011
6047
|
*/
|
|
6012
6048
|
value: string;
|
|
6013
6049
|
}
|
|
6014
6050
|
interface GetSlosSloAlertingSlowburnEnrichment {
|
|
6015
6051
|
/**
|
|
6016
|
-
* Type of the alert enrichment.
|
|
6052
|
+
* Type of the alert enrichment.
|
|
6017
6053
|
*/
|
|
6018
6054
|
type: string;
|
|
6019
6055
|
}
|
|
6020
6056
|
interface GetSlosSloAlertingSlowburnLabel {
|
|
6021
6057
|
/**
|
|
6022
|
-
* Key for filtering and identification
|
|
6058
|
+
* Key for filtering and identification.
|
|
6023
6059
|
*/
|
|
6024
6060
|
key: string;
|
|
6025
6061
|
/**
|
|
6026
|
-
* Templatable value
|
|
6062
|
+
* Templatable value.
|
|
6027
6063
|
*/
|
|
6028
6064
|
value: string;
|
|
6029
6065
|
}
|
|
6030
6066
|
interface GetSlosSloDestinationDatasource {
|
|
6031
6067
|
/**
|
|
6032
|
-
* UID
|
|
6068
|
+
* UID of the destination datasource.
|
|
6033
6069
|
*/
|
|
6034
6070
|
uid: string;
|
|
6035
6071
|
}
|
|
6036
6072
|
interface GetSlosSloLabel {
|
|
6037
6073
|
/**
|
|
6038
|
-
* Key for filtering and identification
|
|
6074
|
+
* Key for filtering and identification.
|
|
6039
6075
|
*/
|
|
6040
6076
|
key: string;
|
|
6041
6077
|
/**
|
|
6042
|
-
* Templatable value
|
|
6078
|
+
* Templatable value.
|
|
6043
6079
|
*/
|
|
6044
6080
|
value: string;
|
|
6045
6081
|
}
|
|
6046
6082
|
interface GetSlosSloObjective {
|
|
6047
6083
|
/**
|
|
6048
|
-
*
|
|
6084
|
+
* Objective value (between 0 and 1).
|
|
6049
6085
|
*/
|
|
6050
6086
|
value: number;
|
|
6051
6087
|
/**
|
|
6052
|
-
*
|
|
6088
|
+
* Time window for the objective.
|
|
6053
6089
|
*/
|
|
6054
6090
|
window: string;
|
|
6055
6091
|
}
|
|
6056
6092
|
interface GetSlosSloQuery {
|
|
6093
|
+
/**
|
|
6094
|
+
* Freeform query configuration.
|
|
6095
|
+
*/
|
|
6057
6096
|
freeform?: outputs.slo.GetSlosSloQueryFreeform;
|
|
6058
6097
|
/**
|
|
6059
|
-
*
|
|
6098
|
+
* Grafana queries configuration.
|
|
6060
6099
|
*/
|
|
6061
6100
|
grafanaQueries?: outputs.slo.GetSlosSloQueryGrafanaQueries;
|
|
6101
|
+
/**
|
|
6102
|
+
* Ratio query configuration.
|
|
6103
|
+
*/
|
|
6062
6104
|
ratio?: outputs.slo.GetSlosSloQueryRatio;
|
|
6063
6105
|
/**
|
|
6064
|
-
*
|
|
6106
|
+
* Type of query (freeform, ratio, grafana_queries, etc.).
|
|
6065
6107
|
*/
|
|
6066
6108
|
type: string;
|
|
6067
6109
|
}
|
|
6068
6110
|
interface GetSlosSloQueryFreeform {
|
|
6069
6111
|
/**
|
|
6070
|
-
*
|
|
6112
|
+
* The PromQL query string.
|
|
6071
6113
|
*/
|
|
6072
6114
|
query: string;
|
|
6073
6115
|
}
|
|
6074
6116
|
interface GetSlosSloQueryGrafanaQueries {
|
|
6075
6117
|
/**
|
|
6076
|
-
*
|
|
6118
|
+
* JSON string containing the Grafana queries.
|
|
6077
6119
|
*/
|
|
6078
6120
|
grafanaQueries: string;
|
|
6079
6121
|
}
|
|
6080
6122
|
interface GetSlosSloQueryRatio {
|
|
6081
6123
|
/**
|
|
6082
|
-
*
|
|
6124
|
+
* Labels used for grouping.
|
|
6083
6125
|
*/
|
|
6084
|
-
groupByLabels
|
|
6126
|
+
groupByLabels: string[];
|
|
6085
6127
|
/**
|
|
6086
|
-
* Counter metric for success events (numerator)
|
|
6128
|
+
* Counter metric for success events (numerator).
|
|
6087
6129
|
*/
|
|
6088
6130
|
successMetric: string;
|
|
6089
6131
|
/**
|
|
6090
|
-
* Metric for total events (denominator)
|
|
6132
|
+
* Metric for total events (denominator).
|
|
6091
6133
|
*/
|
|
6092
6134
|
totalMetric: string;
|
|
6093
6135
|
}
|
|
@@ -6246,11 +6288,17 @@ export declare namespace slo {
|
|
|
6246
6288
|
window: string;
|
|
6247
6289
|
}
|
|
6248
6290
|
interface SLOQuery {
|
|
6291
|
+
/**
|
|
6292
|
+
* Freeform query configuration.
|
|
6293
|
+
*/
|
|
6249
6294
|
freeform?: outputs.slo.SLOQueryFreeform;
|
|
6250
6295
|
/**
|
|
6251
6296
|
* Array for holding a set of grafana queries
|
|
6252
6297
|
*/
|
|
6253
6298
|
grafanaQueries?: outputs.slo.SLOQueryGrafanaQueries;
|
|
6299
|
+
/**
|
|
6300
|
+
* Ratio query configuration.
|
|
6301
|
+
*/
|
|
6254
6302
|
ratio?: outputs.slo.SLOQueryRatio;
|
|
6255
6303
|
/**
|
|
6256
6304
|
* Query type must be one of: "freeform", "query", "ratio", "grafanaQueries" or "threshold"
|