Use “typeNames” when provided in config for StackdriverWriter.  This is common practice.  Will substitute in the wildcard patterns named into the metric names, for things like Tomcat RequestProcessor[s].