Skip to content

Commit fed61be

Browse files
authored
Merge pull request #62 from grafana/feature/update-openapi-spec-2026-03-02-103657
v0.105.9: Regenerate Go client
2 parents 433280d + 0a24eb9 commit fed61be

389 files changed

Lines changed: 4372 additions & 28945 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

go/gcom/.openapi-generator/FILES

Lines changed: 11 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ README.md
55
api/openapi.yaml
66
api_alert_configuration.go
77
api_alert_entity_controller.go
8-
api_alert_manager_config_controller.go
9-
api_alert_manager_versioned_config_controller.go
108
api_assertion_info_controller.go
119
api_assertion_score_controller.go
1210
api_assertion_search_controller.go
1311
api_auto_complete_controller.go
1412
api_config_export_import_controller.go
1513
api_custom_dash_config_controller.go
14+
api_custom_rca_pattern_controller.go
1615
api_customer_metric_controller.go
1716
api_data_sources_config_controller.go
1817
api_drilldown_config_migration_controller.go
@@ -57,42 +56,13 @@ api_trace_drilldown_config_controller.go
5756
api_version_controller.go
5857
client.go
5958
configuration.go
60-
docs/AMReceiverEmail.md
61-
docs/AMReceiverImage.md
62-
docs/AMReceiverLink.md
63-
docs/AMReceiverOpsGenie.md
64-
docs/AMReceiverPagerDuty.md
65-
docs/AMReceiverPushOver.md
66-
docs/AMReceiverSNS.md
67-
docs/AMReceiverSNSSigV4.md
68-
docs/AMReceiverSlack.md
69-
docs/AMReceiverSlackAction.md
70-
docs/AMReceiverSlackActionConfirmField.md
71-
docs/AMReceiverSlackField.md
72-
docs/AMReceiverVictorOps.md
73-
docs/AMReceiverWebhook.md
7459
docs/AffectedEntityDetailDto.md
7560
docs/AffectedEntityDetailsDto.md
7661
docs/AffectedEntityNamesDto.md
7762
docs/AlertConfigDto.md
7863
docs/AlertConfigsDto.md
7964
docs/AlertConfigurationAPI.md
8065
docs/AlertEntityControllerAPI.md
81-
docs/AlertManagerAuthorization.md
82-
docs/AlertManagerBasicAuth.md
83-
docs/AlertManagerConfig.md
84-
docs/AlertManagerConfigControllerAPI.md
85-
docs/AlertManagerGlobal.md
86-
docs/AlertManagerHttp.md
87-
docs/AlertManagerInhibitRule.md
88-
docs/AlertManagerNamedTimeInterval.md
89-
docs/AlertManagerOAuth2.md
90-
docs/AlertManagerReceiver.md
91-
docs/AlertManagerResponder.md
92-
docs/AlertManagerRoute.md
93-
docs/AlertManagerTimeInterval.md
94-
docs/AlertManagerTls.md
95-
docs/AlertManagerVersionedConfigControllerAPI.md
9666
docs/AllRulesDto.md
9767
docs/ApiError.md
9868
docs/ApiErrorStatus.md
@@ -128,6 +98,7 @@ docs/CustomDashConfigControllerAPI.md
12898
docs/CustomDashConfigDto.md
12999
docs/CustomDashConfigsDto.md
130100
docs/CustomKpiDashConfigDto.md
101+
docs/CustomRcaPatternControllerAPI.md
131102
docs/CustomerMetricControllerAPI.md
132103
docs/CustomerMetricRequestDto.md
133104
docs/CustomerMetricResponseDto.md
@@ -169,6 +140,8 @@ docs/EntityKpiScopeDto.md
169140
docs/EntityMatcherDto.md
170141
docs/EntityMonitoringStatusDto.md
171142
docs/EntityPropertyDto.md
143+
docs/EntityPropertyValuesDto.md
144+
docs/EntityPropertyValuesRequestDto.md
172145
docs/EntityRuleDto.md
173146
docs/EntityScopeControllerAPI.md
174147
docs/EntityScopesRequestDto.md
@@ -227,6 +200,7 @@ docs/LogConfigPriorityDto.md
227200
docs/LogDrilldownConfigControllerAPI.md
228201
docs/LogDrilldownConfigDto.md
229202
docs/MetricDto.md
203+
docs/MetricMatchDto.md
230204
docs/MetricSanityCheckDto.md
231205
docs/MetricSanityCheckResult.md
232206
docs/MetricSanityCheckStepResult.md
@@ -258,6 +232,7 @@ docs/MonitoringStatusResponseDto.md
258232
docs/OccurrenceSliConfigDto.md
259233
docs/OtelCollectorConfigDto.md
260234
docs/OtelConfigControllerAPI.md
235+
docs/PatternDto.md
261236
docs/ProductActivationControllerAPI.md
262237
docs/ProductActivationDto.md
263238
docs/ProfileConfigPriorityDto.md
@@ -373,7 +348,6 @@ docs/VendorIntegrationsDto.md
373348
docs/VendorNamesDto.md
374349
docs/VersionControllerAPI.md
375350
docs/VersionDto.md
376-
docs/VersionedAlertManagerPayload.md
377351
docs/VersionedMimirRelabelRuleGroup.md
378352
docs/VersionedMimirRelabelRulesPayload.md
379353
docs/VersionedRulesPayload.md
@@ -385,34 +359,7 @@ model_affected_entity_details_dto.go
385359
model_affected_entity_names_dto.go
386360
model_alert_config_dto.go
387361
model_alert_configs_dto.go
388-
model_alert_manager_authorization.go
389-
model_alert_manager_basic_auth.go
390-
model_alert_manager_config.go
391-
model_alert_manager_global.go
392-
model_alert_manager_http.go
393-
model_alert_manager_inhibit_rule.go
394-
model_alert_manager_named_time_interval.go
395-
model_alert_manager_o_auth2.go
396-
model_alert_manager_receiver.go
397-
model_alert_manager_responder.go
398-
model_alert_manager_route.go
399-
model_alert_manager_time_interval.go
400-
model_alert_manager_tls.go
401362
model_all_rules_dto.go
402-
model_am_receiver_email.go
403-
model_am_receiver_image.go
404-
model_am_receiver_link.go
405-
model_am_receiver_ops_genie.go
406-
model_am_receiver_pager_duty.go
407-
model_am_receiver_push_over.go
408-
model_am_receiver_slack.go
409-
model_am_receiver_slack_action.go
410-
model_am_receiver_slack_action_confirm_field.go
411-
model_am_receiver_slack_field.go
412-
model_am_receiver_sns.go
413-
model_am_receiver_sns_sig_v4.go
414-
model_am_receiver_victor_ops.go
415-
model_am_receiver_webhook.go
416363
model_api_error.go
417364
model_api_error_status.go
418365
model_api_error_sub_errors_inner.go
@@ -476,6 +423,8 @@ model_entity_kpi_scope_dto.go
476423
model_entity_matcher_dto.go
477424
model_entity_monitoring_status_dto.go
478425
model_entity_property_dto.go
426+
model_entity_property_values_dto.go
427+
model_entity_property_values_request_dto.go
479428
model_entity_rule_dto.go
480429
model_entity_scopes_request_dto.go
481430
model_entity_scopes_response_dto.go
@@ -524,6 +473,7 @@ model_log_config_dto.go
524473
model_log_config_priority_dto.go
525474
model_log_drilldown_config_dto.go
526475
model_metric_dto.go
476+
model_metric_match_dto.go
527477
model_metric_sanity_check_dto.go
528478
model_metric_sanity_check_result.go
529479
model_metric_sanity_check_step_result.go
@@ -550,6 +500,7 @@ model_monitoring_status_request_dto.go
550500
model_monitoring_status_response_dto.go
551501
model_occurrence_sli_config_dto.go
552502
model_otel_collector_config_dto.go
503+
model_pattern_dto.go
553504
model_product_activation_dto.go
554505
model_profile_config_priority_dto.go
555506
model_profile_drilldown_config_dto.go
@@ -644,21 +595,19 @@ model_vendor_integration_dto.go
644595
model_vendor_integrations_dto.go
645596
model_vendor_names_dto.go
646597
model_version_dto.go
647-
model_versioned_alert_manager_payload.go
648598
model_versioned_mimir_relabel_rule_group.go
649599
model_versioned_mimir_relabel_rules_payload.go
650600
model_versioned_rules_payload.go
651601
response.go
652602
test/api_alert_configuration_test.go
653603
test/api_alert_entity_controller_test.go
654-
test/api_alert_manager_config_controller_test.go
655-
test/api_alert_manager_versioned_config_controller_test.go
656604
test/api_assertion_info_controller_test.go
657605
test/api_assertion_score_controller_test.go
658606
test/api_assertion_search_controller_test.go
659607
test/api_auto_complete_controller_test.go
660608
test/api_config_export_import_controller_test.go
661609
test/api_custom_dash_config_controller_test.go
610+
test/api_custom_rca_pattern_controller_test.go
662611
test/api_customer_metric_controller_test.go
663612
test/api_data_sources_config_controller_test.go
664613
test/api_drilldown_config_migration_controller_test.go

go/gcom/README.md

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Asserts Public API
55
## Overview
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
77

8-
- API version: 2026.02.03-072313
8+
- API version: 2026.03.02-104252
99
- Package version: 1.0.0
1010
- Generator version: 7.7.0
1111
- Build package: org.openapitools.codegen.languages.GoClientCodegen
@@ -96,10 +96,6 @@ Class | Method | HTTP request | Description
9696
*AlertConfigurationAPI* | [**PutDisabledAlertConfig**](docs/AlertConfigurationAPI.md#putdisabledalertconfig) | **Post** /v1/config/disabled-alert | Disable a single alert configuration
9797
*AlertConfigurationAPI* | [**PutDisabledAlertConfigs**](docs/AlertConfigurationAPI.md#putdisabledalertconfigs) | **Post** /v1/config/disabled-alerts | Disable multiple alert configurations
9898
*AlertEntityControllerAPI* | [**GetAffectedEntity**](docs/AlertEntityControllerAPI.md#getaffectedentity) | **Get** /v1/assertion/alert-affected-entity |
99-
*AlertManagerConfigControllerAPI* | [**DeleteAlertManagerConfig**](docs/AlertManagerConfigControllerAPI.md#deletealertmanagerconfig) | **Delete** /v1/config/alertmanager |
100-
*AlertManagerConfigControllerAPI* | [**GetAlertManagerConfig**](docs/AlertManagerConfigControllerAPI.md#getalertmanagerconfig) | **Get** /v1/config/alertmanager |
101-
*AlertManagerConfigControllerAPI* | [**UpdateAlertManagerConfig**](docs/AlertManagerConfigControllerAPI.md#updatealertmanagerconfig) | **Post** /v1/config/alertmanager |
102-
*AlertManagerVersionedConfigControllerAPI* | [**GetVersionAlertManagerConfig**](docs/AlertManagerVersionedConfigControllerAPI.md#getversionalertmanagerconfig) | **Get** /v1/prometheus/alertmanager |
10399
*AssertionInfoControllerAPI* | [**GetAssertionInfo**](docs/AssertionInfoControllerAPI.md#getassertioninfo) | **Get** /v1/assertion/{name}/info |
104100
*AssertionInfoControllerAPI* | [**GetAssertionInfo1**](docs/AssertionInfoControllerAPI.md#getassertioninfo1) | **Post** /v1/assertion/{name}/info |
105101
*AssertionScoreControllerAPI* | [**GetAssertionScores**](docs/AssertionScoreControllerAPI.md#getassertionscores) | **Post** /v1/assertion_scores |
@@ -114,6 +110,9 @@ Class | Method | HTTP request | Description
114110
*CustomDashConfigControllerAPI* | [**GetAllCustomDashConfig**](docs/CustomDashConfigControllerAPI.md#getallcustomdashconfig) | **Get** /v1/config/dashboard |
115111
*CustomDashConfigControllerAPI* | [**GetCustomDashConfig**](docs/CustomDashConfigControllerAPI.md#getcustomdashconfig) | **Get** /v1/config/dashboard/{entity_type} |
116112
*CustomDashConfigControllerAPI* | [**UpdateCustomDashConfig**](docs/CustomDashConfigControllerAPI.md#updatecustomdashconfig) | **Post** /v1/config/dashboard/{entity_type} |
113+
*CustomRcaPatternControllerAPI* | [**DeleteCustom**](docs/CustomRcaPatternControllerAPI.md#deletecustom) | **Delete** /v1/patterns/custom/{name} |
114+
*CustomRcaPatternControllerAPI* | [**ListCustom**](docs/CustomRcaPatternControllerAPI.md#listcustom) | **Get** /v1/patterns/custom |
115+
*CustomRcaPatternControllerAPI* | [**PutCustom**](docs/CustomRcaPatternControllerAPI.md#putcustom) | **Post** /v1/patterns/custom |
117116
*CustomerMetricControllerAPI* | [**GetAllMetrics**](docs/CustomerMetricControllerAPI.md#getallmetrics) | **Get** /v1/customer/metric |
118117
*CustomerMetricControllerAPI* | [**GetAllMetrics1**](docs/CustomerMetricControllerAPI.md#getallmetrics1) | **Post** /v1/customer/metric |
119118
*CustomerMetricControllerAPI* | [**GetClientMetrics**](docs/CustomerMetricControllerAPI.md#getclientmetrics) | **Get** /v1/customer/metric/client |
@@ -138,6 +137,7 @@ Class | Method | HTTP request | Description
138137
*EntityTypeControllerAPI* | [**GetAll**](docs/EntityTypeControllerAPI.md#getall) | **Get** /v1/entity_type |
139138
*EntityTypeControllerAPI* | [**GetCountByEntityType**](docs/EntityTypeControllerAPI.md#getcountbyentitytype) | **Post** /v1/entity_type/count |
140139
*EntityTypeControllerAPI* | [**GetEntityType**](docs/EntityTypeControllerAPI.md#getentitytype) | **Get** /v1/entity_type/{type} |
140+
*EntityTypeControllerAPI* | [**GetPropertyValues**](docs/EntityTypeControllerAPI.md#getpropertyvalues) | **Post** /v1/entity_type/property_values |
141141
*ExternalLoggingControllerAPI* | [**BuildExternalLoggingUrl**](docs/ExternalLoggingControllerAPI.md#buildexternalloggingurl) | **Post** /v1/logging/external |
142142
*GraphDisplayConfigControllerAPI* | [**DeleteGraphEdgeDisplayConfig**](docs/GraphDisplayConfigControllerAPI.md#deletegraphedgedisplayconfig) | **Delete** /v1/config/display/graph/edge_type/{name} |
143143
*GraphDisplayConfigControllerAPI* | [**DeleteGraphEntityDisplayConfig**](docs/GraphDisplayConfigControllerAPI.md#deletegraphentitydisplayconfig) | **Delete** /v1/config/display/graph/entity_type/{name} |
@@ -172,6 +172,7 @@ Class | Method | HTTP request | Description
172172
*ModelRulesConfigurationAPI* | [**DeleteModelRules**](docs/ModelRulesConfigurationAPI.md#deletemodelrules) | **Delete** /v1/config/model-rules/{name} | Delete custom model rules by name
173173
*ModelRulesConfigurationAPI* | [**GetModelRules**](docs/ModelRulesConfigurationAPI.md#getmodelrules) | **Get** /v1/config/model-rules/{name} | Get custom model rules by name
174174
*ModelRulesConfigurationAPI* | [**GetModelRulesByType**](docs/ModelRulesConfigurationAPI.md#getmodelrulesbytype) | **Get** /v1/config/model-rules-types/{type} | Get base, active, or custom model rules
175+
*ModelRulesConfigurationAPI* | [**GetModelRulesSchema**](docs/ModelRulesConfigurationAPI.md#getmodelrulesschema) | **Get** /v1/config/model-rules/schema | Get JSON Schema for Model Rules configuration
175176
*ModelRulesConfigurationAPI* | [**ListModelRules**](docs/ModelRulesConfigurationAPI.md#listmodelrules) | **Get** /v1/config/model-rules | List all custom model rule names
176177
*ModelRulesConfigurationAPI* | [**PutModelRules**](docs/ModelRulesConfigurationAPI.md#putmodelrules) | **Put** /v1/config/model-rules | Create or update custom model rules
177178
*ModelRulesConfigurationAPI* | [**PutModelRules1**](docs/ModelRulesConfigurationAPI.md#putmodelrules1) | **Put** /v1/config/model-rules/{name} | Create or update custom model rules by name
@@ -193,6 +194,7 @@ Class | Method | HTTP request | Description
193194
*PromRulesConfigControllerAPI* | [**EnableRule**](docs/PromRulesConfigControllerAPI.md#enablerule) | **Post** /v1/config/prom-rules-enable/{name} |
194195
*PromRulesConfigControllerAPI* | [**GetDisabledRules**](docs/PromRulesConfigControllerAPI.md#getdisabledrules) | **Get** /v1/config/prom-rules-disable |
195196
*PromRulesConfigControllerAPI* | [**GetPromRules**](docs/PromRulesConfigControllerAPI.md#getpromrules) | **Get** /v1/config/prom-rules/{name} |
197+
*PromRulesConfigControllerAPI* | [**GetPrometheusRulesSchema**](docs/PromRulesConfigControllerAPI.md#getprometheusrulesschema) | **Get** /v1/config/prom-rules/schema | Get JSON Schema for Prometheus Rules configuration
196198
*PromRulesConfigControllerAPI* | [**GetValidation**](docs/PromRulesConfigControllerAPI.md#getvalidation) | **Get** /v1/config/prom-rules-validate/{id} |
197199
*PromRulesConfigControllerAPI* | [**GetVendorNames**](docs/PromRulesConfigControllerAPI.md#getvendornames) | **Get** /v1/vendor-names |
198200
*PromRulesConfigControllerAPI* | [**ListPromRules**](docs/PromRulesConfigControllerAPI.md#listpromrules) | **Get** /v1/config/prom-rules |
@@ -271,38 +273,11 @@ Class | Method | HTTP request | Description
271273

272274
## Documentation For Models
273275

274-
- [AMReceiverEmail](docs/AMReceiverEmail.md)
275-
- [AMReceiverImage](docs/AMReceiverImage.md)
276-
- [AMReceiverLink](docs/AMReceiverLink.md)
277-
- [AMReceiverOpsGenie](docs/AMReceiverOpsGenie.md)
278-
- [AMReceiverPagerDuty](docs/AMReceiverPagerDuty.md)
279-
- [AMReceiverPushOver](docs/AMReceiverPushOver.md)
280-
- [AMReceiverSNS](docs/AMReceiverSNS.md)
281-
- [AMReceiverSNSSigV4](docs/AMReceiverSNSSigV4.md)
282-
- [AMReceiverSlack](docs/AMReceiverSlack.md)
283-
- [AMReceiverSlackAction](docs/AMReceiverSlackAction.md)
284-
- [AMReceiverSlackActionConfirmField](docs/AMReceiverSlackActionConfirmField.md)
285-
- [AMReceiverSlackField](docs/AMReceiverSlackField.md)
286-
- [AMReceiverVictorOps](docs/AMReceiverVictorOps.md)
287-
- [AMReceiverWebhook](docs/AMReceiverWebhook.md)
288276
- [AffectedEntityDetailDto](docs/AffectedEntityDetailDto.md)
289277
- [AffectedEntityDetailsDto](docs/AffectedEntityDetailsDto.md)
290278
- [AffectedEntityNamesDto](docs/AffectedEntityNamesDto.md)
291279
- [AlertConfigDto](docs/AlertConfigDto.md)
292280
- [AlertConfigsDto](docs/AlertConfigsDto.md)
293-
- [AlertManagerAuthorization](docs/AlertManagerAuthorization.md)
294-
- [AlertManagerBasicAuth](docs/AlertManagerBasicAuth.md)
295-
- [AlertManagerConfig](docs/AlertManagerConfig.md)
296-
- [AlertManagerGlobal](docs/AlertManagerGlobal.md)
297-
- [AlertManagerHttp](docs/AlertManagerHttp.md)
298-
- [AlertManagerInhibitRule](docs/AlertManagerInhibitRule.md)
299-
- [AlertManagerNamedTimeInterval](docs/AlertManagerNamedTimeInterval.md)
300-
- [AlertManagerOAuth2](docs/AlertManagerOAuth2.md)
301-
- [AlertManagerReceiver](docs/AlertManagerReceiver.md)
302-
- [AlertManagerResponder](docs/AlertManagerResponder.md)
303-
- [AlertManagerRoute](docs/AlertManagerRoute.md)
304-
- [AlertManagerTimeInterval](docs/AlertManagerTimeInterval.md)
305-
- [AlertManagerTls](docs/AlertManagerTls.md)
306281
- [AllRulesDto](docs/AllRulesDto.md)
307282
- [ApiError](docs/ApiError.md)
308283
- [ApiErrorStatus](docs/ApiErrorStatus.md)
@@ -367,6 +342,8 @@ Class | Method | HTTP request | Description
367342
- [EntityMatcherDto](docs/EntityMatcherDto.md)
368343
- [EntityMonitoringStatusDto](docs/EntityMonitoringStatusDto.md)
369344
- [EntityPropertyDto](docs/EntityPropertyDto.md)
345+
- [EntityPropertyValuesDto](docs/EntityPropertyValuesDto.md)
346+
- [EntityPropertyValuesRequestDto](docs/EntityPropertyValuesRequestDto.md)
370347
- [EntityRuleDto](docs/EntityRuleDto.md)
371348
- [EntityScopesRequestDto](docs/EntityScopesRequestDto.md)
372349
- [EntityScopesResponseDto](docs/EntityScopesResponseDto.md)
@@ -415,6 +392,7 @@ Class | Method | HTTP request | Description
415392
- [LogConfigPriorityDto](docs/LogConfigPriorityDto.md)
416393
- [LogDrilldownConfigDto](docs/LogDrilldownConfigDto.md)
417394
- [MetricDto](docs/MetricDto.md)
395+
- [MetricMatchDto](docs/MetricMatchDto.md)
418396
- [MetricSanityCheckDto](docs/MetricSanityCheckDto.md)
419397
- [MetricSanityCheckResult](docs/MetricSanityCheckResult.md)
420398
- [MetricSanityCheckStepResult](docs/MetricSanityCheckStepResult.md)
@@ -441,6 +419,7 @@ Class | Method | HTTP request | Description
441419
- [MonitoringStatusResponseDto](docs/MonitoringStatusResponseDto.md)
442420
- [OccurrenceSliConfigDto](docs/OccurrenceSliConfigDto.md)
443421
- [OtelCollectorConfigDto](docs/OtelCollectorConfigDto.md)
422+
- [PatternDto](docs/PatternDto.md)
444423
- [ProductActivationDto](docs/ProductActivationDto.md)
445424
- [ProfileConfigPriorityDto](docs/ProfileConfigPriorityDto.md)
446425
- [ProfileDrilldownConfigDto](docs/ProfileDrilldownConfigDto.md)
@@ -535,7 +514,6 @@ Class | Method | HTTP request | Description
535514
- [VendorIntegrationsDto](docs/VendorIntegrationsDto.md)
536515
- [VendorNamesDto](docs/VendorNamesDto.md)
537516
- [VersionDto](docs/VersionDto.md)
538-
- [VersionedAlertManagerPayload](docs/VersionedAlertManagerPayload.md)
539517
- [VersionedMimirRelabelRuleGroup](docs/VersionedMimirRelabelRuleGroup.md)
540518
- [VersionedMimirRelabelRulesPayload](docs/VersionedMimirRelabelRulesPayload.md)
541519
- [VersionedRulesPayload](docs/VersionedRulesPayload.md)

0 commit comments

Comments
 (0)