We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa83b0 commit ced9acfCopy full SHA for ced9acf
src/Hyperion/Main.hs
@@ -267,13 +267,11 @@ doAnalyze Config{..} cinfo bks = do
267
| otherwise = reportMeasurements .~ Nothing
268
report = results & imapped %@~ analyze & mapped %~ strip
269
now <- getCurrentTime
270
- let -- TODO Use output of hostname(1) as reasonable default.
271
- hostId = Nothing :: Maybe Text
272
- metadata =
+ let metadata =
273
configUserMetadata
274
-- Prepend user metadata so that the user can rewrite @timestamp@,
275
-- for instance.
276
- <> HashMap.fromList [ "timestamp" JSON..= now, "location" JSON..= hostId ]
+ <> HashMap.fromList [ "timestamp" JSON..= now ]
277
void $ bracket
278
(mapM (openReportHandle cinfo)
279
$ Set.toList configReportOutputs)
0 commit comments