Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datasource name in application autotune yaml can not be blank or invalid #252 #2

Open
Prakalp23 opened this issue Apr 14, 2022 · 0 comments

Comments

@Prakalp23
Copy link
Owner

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: " "
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: "xyz"
value: "prometheus_URL"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant