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

WIP: add percentile debug and mae statistics #904

Open
wants to merge 2 commits into
base: support-1-26
Choose a base branch
from

Conversation

Cloudzp
Copy link
Contributor

@Cloudzp Cloudzp commented Jun 4, 2024

What type of PR is this?

add percentile debug and mae statistics

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@Cloudzp Cloudzp changed the base branch from support-1-26 to support-v1.26+ June 4, 2024 11:37
@Cloudzp Cloudzp changed the base branch from support-v1.26+ to support-1-26 June 4, 2024 11:39
Copy link
Contributor

github-actions bot commented Jun 4, 2024

🎉 Successfully Build Images.
Now Support ARM Platforms.
Comment Post Time: 2024-06-04 19:46
Git Version: d71331f

Docker Registry

Overview: https://hub.docker.com/u/gocrane

Image Pull Command
crane-agent:pr-904-d71331f docker pull gocrane/crane-agent:pr-904-d71331f
dashboard:pr-904-d71331f docker pull gocrane/dashboard:pr-904-d71331f
metric-adapter:pr-904-d71331f docker pull gocrane/metric-adapter:pr-904-d71331f
craned:pr-904-d71331f docker pull gocrane/craned:pr-904-d71331f

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=gocrane/craned \
                   --set craned.image.tag=pr-904-d71331f \
                   --set metricAdapter.image.repository=gocrane/metric-adapter \
                   --set metricAdapter.image.tag=pr-904-d71331f \
                   --set craneAgent.image.repository=gocrane/crane-agent \
                   --set craneAgent.image.tag=pr-904-d71331f \
                   --set cranedDashboard.image.repository=gocrane/dashboard \
                   --set cranedDashboard.image.tag=pr-904-d71331f crane/crane

Coding Registry

Overview: https://finops.coding.net/public-artifacts/gocrane/crane/packages

Image Pull Command
crane-agent:pr-904-d71331f docker pull finops-docker.pkg.coding.net/gocrane/crane/crane-agent:pr-904-d71331f
dashboard:pr-904-d71331f docker pull finops-docker.pkg.coding.net/gocrane/crane/dashboard:pr-904-d71331f
metric-adapter:pr-904-d71331f docker pull finops-docker.pkg.coding.net/gocrane/crane/metric-adapter:pr-904-d71331f
craned:pr-904-d71331f docker pull finops-docker.pkg.coding.net/gocrane/crane/craned:pr-904-d71331f

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=finops-docker.pkg.coding.net/gocrane/crane/craned \
                   --set craned.image.tag=pr-904-d71331f \
                   --set metricAdapter.image.repository=finops-docker.pkg.coding.net/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-904-d71331f \
                   --set craneAgent.image.repository=finops-docker.pkg.coding.net/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-904-d71331f \
                   --set cranedDashboard.image.repository=finops-docker.pkg.coding.net/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-904-d71331f crane/crane

Ghcr Registry

Overview: https://github.com/orgs/gocrane/packages?repo_name=crane

Image Pull Command
crane-agent:pr-904-d71331f docker pull ghcr.io/gocrane/crane/crane-agent:pr-904-d71331f
dashboard:pr-904-d71331f docker pull ghcr.io/gocrane/crane/dashboard:pr-904-d71331f
metric-adapter:pr-904-d71331f docker pull ghcr.io/gocrane/crane/metric-adapter:pr-904-d71331f
craned:pr-904-d71331f docker pull ghcr.io/gocrane/crane/craned:pr-904-d71331f

Quick Deploy - Helm

helm repo add crane https://finops-helm.pkg.coding.net/gocrane/gocrane
helm install crane -n crane-system --create-namespace \
                   --set craned.image.repository=ghcr.io/gocrane/crane/craned \
                   --set craned.image.tag=pr-904-d71331f \
                   --set metricAdapter.image.repository=ghcr.io/gocrane/crane/metric-adapter \
                   --set metricAdapter.image.tag=pr-904-d71331f \
                   --set craneAgent.image.repository=ghcr.io/gocrane/crane/crane-agent \
                   --set craneAgent.image.tag=pr-904-d71331f \
                   --set cranedDashboard.image.repository=ghcr.io/gocrane/crane/dashboard \
                   --set cranedDashboard.image.tag=pr-904-d71331f crane/crane

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: try remove developername from filename, name the file as the purpose

}

queryExpr := namer.BuildUniqueKey()
klog.V(4).Infof("process analyzing metric namer: %v, config: %+v", namer.BuildUniqueKey(), *cfg)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to keep same standard that logs start with Capital letter.

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

Successfully merging this pull request may close these issues.

2 participants