File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,18 @@ icon: "tag"
6
6
---
7
7
8
8
You can configure Subtrace to tag requests to categorize and search faster when
9
- you're dealing with large request volumes. Tags are commonly used for metadata
10
- specific to your business, organization, or infrastructure.
11
-
12
- An example use-case for tags is when you have a microservice architecture. It's
13
- useful to tag each request by the service name so that you can later filter for
14
- network activity within a specific service. Here's an example config:
9
+ you're dealing with large request volumes. For instance, if you have a
10
+ microservice architecture, it's useful to tag each request by the service name
11
+ so that you can filter requests by service later. Here's an example config:
15
12
16
13
``` yaml
17
14
tags :
18
15
service_name : payments-api
19
16
deploy_env : prod
17
+ has_gpu : false
20
18
` ` `
21
19
22
- To use this config file, use the ` --config` command line flag:
20
+ Use the ` --config` command line flag to pass the config file to Subtrace :
23
21
24
22
` ` ` bash
25
23
./subtrace run --config=/path/to/subtrace.yaml -- node app.js
You can’t perform that action at this time.
0 commit comments