Wildcards for variable depth hierarchy

I have a bunch of series coming in with different levels of hierarchy. For example:

  • widget.service.insert.time
  • widget.service.delete.time
  • widget.query.sql.insert.time
  • widget.query.nosql.submit.response.time

In some cases, I’m getting 4 levels of nesting, in other cases, 5 or 6. Is there any way to write a metric that says “show everything after widget, no matter the depth of nesting?”

Don’t know, are you using Graphite? Don’t think it has such a feature

Oops, sorry I didn’t specify. Yes, using graphite. I googled around and couldn’t find any such feature, but I was hoping I’d missed something.