Fix service destination template file name#133403
Conversation
lahsivjar
left a comment
There was a problem hiding this comment.
The resources.yml version also needs to be bumped from 10 to 11
|
Pinging @elastic/es-data-management (Team:Data Management) |
|
Hi @gregkalapos, I've created a changelog YAML for you. |
|
I'm not sure we should just rename these files in a minor version and remove the old ones entirely. What if a user had made modifications to the installed I know we tell users to customize things in the Are these data streams ones where we know the user won't be customizing these template files? Are users going to complain because they tested something in 9.1.x which no longer works in a separate 9.2.0 cluster because the |
I agree this is a risk of doing it this way. We had a slack thread with @felixbarny and @carsonip and we were leaning towards accepting this risk. What we store in these data streams are derived metrics created by the elasticapm connector which is used by the APM UI. I'd say there isn't anything to customize here for users. I think if anything, they could break things by changing these templates :) Having said that, indeed, we'll break customization. I'd accept this, because 1) this is a type of data stream that users should not touch, we also set Maybe list other options on how to proceed:
I think overall the best option is to just do the change now. What do others think? |
|
My 2cents (from the perspective of MOTel): I am ok with this change, if it is tested that it doesn't break anything on update if there is no customization applied. MOTel just went GA and the risk of any customization is still very low. |
|
Alright, thanks for the discussion and background. I appreciate the history, and I think it's okay to go with the change now, given the info. |
@carsonip found this issue - the file name of the
metrics-service_destination.[xyz]@templatetemplates did not have the.otelpostfix.This PR fixes the file names - the index pattern itself was correct, so that's untouched and I expect those continue to work.
I bumped the priority of the renamed files by 1 to avoid issues in clusters where the old templates are used.