-
Notifications
You must be signed in to change notification settings - Fork 643
fix: rideshare tweaks #4075
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
base: main
Are you sure you want to change the base?
fix: rideshare tweaks #4075
Conversation
examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile.load-generator
Outdated
Show resolved
Hide resolved
examples/language-sdk-instrumentation/golang-push/rideshare/docker-compose.yml
Show resolved
Hide resolved
examples/language-sdk-instrumentation/golang-push/rideshare/rideshare/rideshare.go
Show resolved
Hide resolved
examples/language-sdk-instrumentation/golang-push/rideshare/docker-compose.yml
Outdated
Show resolved
Hide resolved
examples/language-sdk-instrumentation/golang-push/rideshare/rideshare/rideshare.go
Show resolved
Hide resolved
examples/language-sdk-instrumentation/golang-push/rideshare/loadgen.go
Outdated
Show resolved
Hide resolved
...s/language-sdk-instrumentation/golang-push/rideshare/prometheus-provisioning/prometheus.yaml
Show resolved
Hide resolved
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.
One minor thing and it'd be ready to merge 🙂
examples/language-sdk-instrumentation/golang-push/rideshare/rideshare/rideshare.go
Outdated
Show resolved
Hide resolved
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.
Hi @shelldandy,
I still see the a.utf8.metric
being added. It's breaking the experience in some screens, such as in the metrics explorer, as I showed in the last comment.
When addressing that, could you take the chance to update the branch? Thanks for all the work! 🙂
The metric is still there but without the emoji like before, is that still a problem? I'm only using normal characters in there. I'll update the branch as well no problem |
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.
One last fix and we should be able to merge 🙂
Please take the chance to update the branch from main, sorry about this.
@@ -358,12 +326,22 @@ func MeterProvider(c Config) (*sdkmetric.MeterProvider, error) { | |||
} | |||
|
|||
ctx := context.Background() | |||
exp, err := otlpmetrichttp.New(ctx) | |||
opts := []otlpmetrichttp.Option{otlpmetrichttp.WithEndpoint(c.OTLPUrl)} |
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.
I've found another issue. I think this is the culprit causing this, since it overrides the OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
environment variable configuration:
2025/04/23 07:47:43 failed to upload metrics: Post "http:///api/v1/otlp/v1/metrics": http: no Host in request URL
After the changes, try to run the example to see if the otlp metrics added in this PR #3905 are still available.
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.
Still seeing the error above when running the example with docker-compose up --build
. Could you please take another look? @shelldandy
Continues from: #4011
Needed to add the utf8 metrics to our prometheus config so they're properly scrapped