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 #1

Open
Prakalp23 opened this issue Apr 13, 2022 · 0 comments
Assignees

Comments

@Prakalp23
Copy link
Owner

Prakalp23 commented 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"

@Prakalp23 Prakalp23 self-assigned this Apr 13, 2022
@Prakalp23 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
@Prakalp23 Prakalp23 reopened this Apr 13, 2022
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