You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prakalp23
changed the title
atasource name in application autotune yaml can not be blank or invalid
datasource name in application autotune yaml can not be blank or invalid
Apr 13, 2022
Datasource name in application autotune yaml can not be blank or invalid
blank-datasource-name
apiVersion: "recommender.com/v1"
kind: "Autotune"
metadata:
name: "blank-datasource-name"
spec:
sla:
objective_function: "transaction_response_time"
sla_class: "response_time"
direction: "minimize"
function_variables:
- name: "transaction_response_time"
query: "application_org_acme_microprofile_metrics_PrimeNumberChecker_checksTimer_mean_seconds"
datasource: "prometheus"
value_type: "double"
mode: "show"
selector:
matchLabel: "app.kubernetes.io/name"
matchLabelValue: "petclinic-deployment"
matchRoute: ""
matchURI: ""
matchService: "https"
datasource:
name: "prometheus "
value: "prometheus_URL"
invalid-datasource-name
apiVersion: "recommender.com/v1"
kind: "Autotune"
metadata:
name: "invalid-datasource-name"
spec:
sla:
objective_function: "transaction_response_time"
sla_class: "response_time"
direction: "minimize"
function_variables:
- name: "transaction_response_time"
query: "application_org_acme_microprofile_metrics_PrimeNumberChecker_checksTimer_mean_seconds"
datasource: "prometheus"
value_type: "double"
mode: "show"
selector:
matchLabel: "app.kubernetes.io/name"
matchLabelValue: "petclinic-deployment"
matchRoute: ""
matchURI: ""
matchService: "https"
datasource:
name: "prometheus"
value: "prometheus_URL"
The text was updated successfully, but these errors were encountered: