-
Notifications
You must be signed in to change notification settings - Fork 503
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
add opentelemetry-demo chart #280
Conversation
Hi @wph95, thanks for the contribution. Couple of initial suggestions/questions:
|
…exible configuration of otelcol by value.yaml)
done
Yes, the current version does not include metrics (grafana and prometheus) |
Sounds good 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otel-col is failing for me with error
Error: failed to get config: cannot unmarshal the configuration: error reading top level configuration sections: 1 error(s) decoding:
* '' has invalid keys: config
2022/07/20 17:43:16 collector server run finished with error: failed to get config: cannot unmarshal the configuration: error reading top level configuration sections: 1 error(s) decoding:
* '' has invalid keys: config
This might becoz of bad indentation in exporter
section of configmap
. I think it would be good idea to yamllint
these files.
Co-authored-by: Tyler Helmuth <[email protected]>
Co-authored-by: Tigran Najaryan <[email protected]>
2. rename _deployment.yaml 3. otelcol configmap logic improve, add sha256sum!
…-charts into wph95/otel-demo
@dineshg13 fixed it :) |
What's the best way to test this PR. I tried below steps after looking at README but ran into below error :
The error seems to be happening because the chart for "opentelemetry-demo-webstore" doesn't yet exist in the repo. Any suggestions on how to get workaround this issue so i can test this PR?
NAME CHART VERSION APP VERSION DESCRIPTION |
If you do |
thanks @TylerHelmuth ! I was able to deploy the services successfully in my AKS cluster as well as local Mac on kind cluster. |
@wph95 what the reason for not including |
#280 (comment) |
change _deployment.yaml to _deployment.tpl
@Allex1 would appreciate your review on this PR. |
@wph95 |
I think it is better to PR separately |
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wph95 Some docs or comments in values would be appropriate for new users. We can probably do this in a future docs pr. Great contribution! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wph95 can you add a values.json.schema like https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/values.schema.json
Good suggestion, just added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the chart is still located at /charts/opentelemetry-demo-webstore. Can you please update the directory name?
██████╗ ████████╗███████╗██╗ ██████╗ ███████╗███╗ ███╗ ██████╗ | ||
██╔═══██╗╚══██╔══╝██╔════╝██║ ██╔══██╗██╔════╝████╗ ████║██╔═══██╗ | ||
██║ ██║ ██║ █████╗ ██║ ██║ ██║█████╗ ██╔████╔██║██║ ██║ | ||
██║ ██║ ██║ ██╔══╝ ██║ ██║ ██║██╔══╝ ██║╚██╔╝██║██║ ██║ | ||
╚██████╔╝ ██║ ███████╗███████╗ ██████╔╝███████╗██║ ╚═╝ ██║╚██████╔╝ | ||
╚═════╝ ╚═╝ ╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's beautiful!
Co-authored-by: Dmitrii Anoshin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @wph95!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple more questions as it had been a while since I look through things in depth.
{{- include "otel.demo.service" $config -}} | ||
{{ end }} | ||
|
||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{- end }} | |
{{- end }} | |
Co-authored-by: Tyler Helmuth <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wph95 and everyone else involved! Excited to see this chart help our end users.
open-telemetry/opentelemetry-demo#153