mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	Fixed opentsdb metric name with colon chars
This commit is contained in:
		
							parent
							
								
									303d9c61c8
								
							
						
					
					
						commit
						2fd94073ba
					
				@ -254,6 +254,7 @@ String OpenTsdbWriter::EscapeMetric(const String& str)
 | 
				
			|||||||
	boost::replace_all(result, " ", "_");
 | 
						boost::replace_all(result, " ", "_");
 | 
				
			||||||
	boost::replace_all(result, ".", "_");
 | 
						boost::replace_all(result, ".", "_");
 | 
				
			||||||
	boost::replace_all(result, "\\", "_");
 | 
						boost::replace_all(result, "\\", "_");
 | 
				
			||||||
 | 
						boost::replace_all(result, ":", "_");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return result;
 | 
						return result;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user