Nothing
test_that("meter_provider_stdout", {
tmp <- tempfile()
on.exit(unlink(tmp), add = TRUE)
mp <- meter_provider_stdstream_new(list(output = tmp))
on.exit(mp$shutdown(), add = TRUE)
mtr <- mp$get_meter()
ctr <- mtr$create_counter("ctr")
ctr$add(1)
ctr$add(10)
mp$flush()
lns <- readLines(tmp)
expect_snapshot(
writeLines(lns),
transform = transform_meter_provider_file
)
})
test_that("meter_provider_stdstream_options", {
expect_snapshot({
meter_provider_stdstream_options()
})
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.