Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 authored Dec 4, 2024
1 parent 0e81264 commit 31cfcb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ cargo run -r
use talna::{Database, Duration, MetricName, tagset, timestamp};

let db = Database::builder().open(path)?;
// or: Database::from_keyspace(existing_keyspace)

let metric_name = MetricName::try_from("cpu.total").unwrap();

Expand Down

0 comments on commit 31cfcb4

Please sign in to comment.