Skip to content

Commit dc12dd3

Browse files
author
Vitaliy Skrypnyk
committed
Update README.md
1 parent 4caab76 commit dc12dd3

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[comment]: <> ([![Forks][forks-shield]][forks-url])
1414
[![Stargazers][stars-shield]][stars-url]
1515
[![Issues][issues-shield]][issues-url]
16-
[![MIT License][license-shield]][license-url]
16+
[![Apache 2.0 License][license-shield]][license-url]
1717

1818
[comment]: <> ([![LinkedIn][linkedin-shield]][linkedin-url])
1919

@@ -137,11 +137,11 @@ Distributed under the Apache License Version 2.0 License. See `LICENSE.md` for m
137137

138138
<!-- MARKDOWN LINKS & IMAGES -->
139139
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
140-
[stars-shield]: https://img.shields.io/github/stars/github_username/repo_name.svg?style=for-the-badge
140+
[stars-shield]: https://img.shields.io/github/stars/vitaliy-sk/PerfUnit.svg?style=for-the-badge
141141
[stars-url]: https://github.com/vitaliy-sk/perfunit/stargazers
142-
[issues-shield]: https://img.shields.io/github/issues/github_username/repo_name.svg?style=for-the-badge
142+
[issues-shield]: https://img.shields.io/github/issues/vitaliy-sk/PerfUnit.svg?style=for-the-badge
143143
[issues-url]: https://github.com/vitaliy-sk/perfunit/issues
144-
[license-shield]: https://img.shields.io/github/license/github_username/repo_name.svg?style=for-the-badge
145-
[license-url]: https://github.com/vitaliy-sk/perfunit/blob/master/LICENSE.txt
144+
[license-shield]: https://img.shields.io/github/license/vitaliy-sk/PerfUnit.svg?style=for-the-badge
145+
[license-url]: https://github.com/vitaliy-sk/perfunit/blob/master/LICENSE.md
146146

147147
----

src/test/resources/config-sample.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ rules:
1717
# dev.techh.perfunit.integration.service.ExpensiveService - set shared limit to all methods' in the specified class
1818
# dev.techh.perfunit.integration.service.ExpensiveService#testWithArgs - set shared limit to all methods with name testWithArgs
1919
# dev.techh.perfunit.integration.service.ExpensiveService#testWithArgs(java.lang.String) - set limit testWithArgs with one String argument
20-
dev.techh.perfunit.integration.service.ExpensiveService#count5InvocationsAllowed:
21-
description: Method testNoArgs call to often # Optional: text description
22-
allowUnknownCalls: true # Optional: allow invocation without tracing id (default: true)
23-
allowFail: true # Optional: if "fail" and quota will be reach exception will be thrown (default: false)
24-
tracingKey: traceId # Optional: key which be used for tracking quota usage. This key should be present in MDC (default: traceId)
25-
onlyPublic: true # Optional: instrument only public methods (default: true)
26-
limit:
27-
# One or multiple limit can be used at the same time.
28-
count: 10 # Numbers of call allowed
29-
timeSingle: 200 # Single call limit in msec
30-
timeTotal: 500 # Total time limit in msec
31-
3220
# dev.techh.perfunit.integration.service.ExpensiveService#count5InvocationsAllowed:
33-
# description: count5InvocationsAllowed
34-
# tracingKey: traceId
35-
# limit:
36-
# count: 5
21+
# description: Method testNoArgs call to often # Optional: text description
22+
# allowUnknownCalls: true # Optional: allow invocation without tracing id (default: true)
23+
# allowFail: true # Optional: if "fail" and quota will be reach exception will be thrown (default: false)
24+
# tracingKey: traceId # Optional: key which be used for tracking quota usage. This key should be present in MDC (default: traceId)
25+
# onlyPublic: true # Optional: instrument only public methods (default: true)
26+
# limit:
27+
# # One or multiple limit can be used at the same time.
28+
# count: 10 # Numbers of call allowed
29+
# timeSingle: 200 # Single call limit in msec
30+
# timeTotal: 500 # Total time limit in msec
31+
32+
dev.techh.perfunit.integration.service.ExpensiveService#count5InvocationsAllowed:
33+
description: count5InvocationsAllowed
34+
tracingKey: traceId
35+
limit:
36+
count: 5
3737

3838
dev.techh.perfunit.integration.service.ExpensiveService#time10MsecSingleAllowed:
3939
description: time10MsecSingleAllowed

0 commit comments

Comments
 (0)