(path string)
| 169 | } |
| 170 | |
| 171 | func createTimeseries(path string) { |
| 172 | var ( |
| 173 | dataType = client.FLOAT |
| 174 | encoding = client.PLAIN |
| 175 | compressor = client.SNAPPY |
| 176 | ) |
| 177 | session, err := sessionPool.GetSession() |
| 178 | defer sessionPool.PutBack(session) |
| 179 | if err == nil { |
| 180 | checkError(session.CreateTimeseries(path, dataType, encoding, compressor, nil, nil)) |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | func createAlignedTimeseries(prefixPath string, measurements, measurementAlias []string) { |
| 185 | var ( |
no test coverage detected
searching dependent graphs…