Skip to content
Snippets Groups Projects
Commit d48dc727 authored by Maaz Ahmed's avatar Maaz Ahmed
Browse files

chore: fix typo in README

parent 766158ae
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ use mquery::{Auth, QueryManager, query}; ...@@ -9,7 +9,7 @@ use mquery::{Auth, QueryManager, query};
async fn main() { async fn main() {
dotenv::dotenv().expect("No .env file found in working dir"); dotenv::dotenv().expect("No .env file found in working dir");
let url = std::env::var("VM_URL").expect("VM URL not found in env"); let url = std::env::var("VM_URL").expect("VM URL not found in env");
let token = std::env::var("VM_TOKEN").expect("VM URL not found in env"); let token = std::env::var("VM_TOKEN").expect("VM token not found in env");
let mut query = query::Metric::new("total_http_requests"); let mut query = query::Metric::new("total_http_requests");
query.label_eq("method", "get"); query.label_eq("method", "get");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment