-
Notifications
You must be signed in to change notification settings - Fork 12
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
Breaking change in grafana/data around 8.5 causing issues with links to trace querying in service graph #153
Comments
This issue still seems to exist, is there any update on a planned fix or possible workaround? I would be happy to open a PR using one of the potential fixes suggested by @sarahzinger if that would be helpful. I've observed that in the service map UI in the AWS console they don't include this Environment:
|
Hi @jamesrwhite Thanks for taking a look into this and bringing it back to our attention! We haven't worked on this and I don't think there's any workaround yet. Right now we've marked this issue as something we'd like to fix eventually but haven't made it a priority (mostly because we haven't seen many customers complaining about it). But if it's a pain point for you let us know and we're happy to move it up in our priority. If you're interested in opening a PR you're absolutely welcome to and we would be happy to review! Any PR you make in the X-ray Datasource plugin repo will get auto-tagged to our team to review. You make an interesting point about maybe not passing along type at all! I had assumed that it was necessary for the API, but perhaps it's not! I haven't had a chance to look. I will say this UI I believe is shared (or intended to be shared) by multiple datasources so it's possible there's something here that made sense for them but not for X-Ray. I think the simplest solution would be to investigate if changing |
Hi @sarahzinger, thanks for getting back to me. I've tried changing
|
👋 @sarahzinger, sorry to chase you but this is becoming a bit of a blocker for us in encouraging teams to use tracing and we're trying to avoid running a fork of the plugin. Would someone be able to review the fix I've proposed in #203? Thanks 🙏 |
What happened:
It looks like a constant changed from camelcase to lowercase and since that, the xray plugin seem unable to interpolate links correctly from the service graph to certain trace queries
What you expected to happen:
I would expect to be able to click on any node within the service map and be able to get linked to a trace list view that is already filtered to that service node type.
How to reproduce it (as minimally and precisely as possible):
Screenshots
![Screenshot 2022-11-10 at 10 27 07 PM](https://user-images.githubusercontent.com/6620164/201257798-9419291d-d2c9-4158-be27-3167642ffdfe.png)
![Screenshot 2022-11-10 at 10 27 53 PM](https://user-images.githubusercontent.com/6620164/201257803-09f962b0-77bc-45b5-bc48-4ec2890cffda.png)
Anything else we need to know?:
I noticed that if I changed
subTitle
tosubtitle
here the issue went away. I'm not entirely sure if that is an appropriate fix or if that could break versions older than 8.5.1? I think probably the solution would be to use the node graph enum in the query creation like, but haven't tested or investigated further. Would not be terribly surprised if other links like this that were camel case are also affected. Potentially the fix should be in core grafana so that it can take a query that is either lowercase or camelcase? Requires a bit of investigation.Environment:
The text was updated successfully, but these errors were encountered: