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

roachprod: use go yaml to create the prometheus yaml #124320

Closed
nameisbhaskar opened this issue May 17, 2024 · 0 comments · Fixed by #124322
Closed

roachprod: use go yaml to create the prometheus yaml #124320

nameisbhaskar opened this issue May 17, 2024 · 0 comments · Fixed by #124322
Assignees
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Comments

@nameisbhaskar
Copy link
Contributor

nameisbhaskar commented May 17, 2024

Currently, we are using a template to generate the instance config target yaml file. The goal of this ticket is to use go yaml to generate the yaml file.

Jira issue: CRDB-38824

@nameisbhaskar nameisbhaskar added the C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. label May 17, 2024
@nameisbhaskar nameisbhaskar self-assigned this May 17, 2024
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 17, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 17, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 17, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 17, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 18, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 18, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 19, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 19, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 20, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
nameisbhaskar added a commit to nameisbhaskar/cockroach that referenced this issue May 20, 2024
currently a template is used to generate the yaml for the
prometheus cluster config. this is error-prone and adding new
parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: cockroachdb#124320
Epic: none
craig bot pushed a commit that referenced this issue May 20, 2024
124322: roachprod: use yaml for creating the cluster config r=renatolabs a=nameisbhaskar

currently a template is used to generate the yaml for the prometheus cluster config. this is error-prone and adding new parameters also becomes risky.
with this change, we are using go yaml to generate the yaml

Fixes: #124320
Epic: none

Co-authored-by: Bhaskarjyoti Bora <bhaskar.bora@cockroachlabs.com>
@craig craig bot closed this as completed in 0a22370 May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant