Skip to content

Commit 625a7d0

Browse files
committed
Add basic documentation
1 parent 0ab16a8 commit 625a7d0

File tree

4 files changed

+205
-10
lines changed

4 files changed

+205
-10
lines changed

.idea/php.xml

Lines changed: 151 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,49 @@
1-
# filesystem
1+
# Filesystem
2+
23
Open Telemetry Auto Instrumentation for ReactPHP's Filesystem component
4+
5+
![Continuous Integration](https://github.com/reactphp-inspector/filesystem/workflows/Continuous%20Integration/badge.svg)
6+
[![Latest Stable Version](https://poser.pugx.org/react-inspector/filesystem/v/stable.png)](https://packagist.org/packages/react-inspector/filesystem)
7+
[![Total Downloads](https://poser.pugx.org/react-inspector/filesystem/downloads.png)](https://packagist.org/packages/react-inspector/filesystem/stats)
8+
[![Type Coverage](https://shepherd.dev/github/reactphp-inspector/filesystem/coverage.svg)](https://shepherd.dev/github/reactphp-inspector/filesystem)
9+
[![License](https://poser.pugx.org/react-inspector/filesystem/license.png)](https://packagist.org/packages/react-inspector/filesystem)
10+
11+
# Installation
12+
13+
To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.
14+
15+
```
16+
composer require react-inspector/filesystem
17+
```
18+
19+
# Todo
20+
21+
- [X] Port initial implementation over from private project
22+
- [ ] Add Unit tests, look at https://github.com/opentelemetry-php/contrib-auto-reactphp for inspiration
23+
- [ ] Add spans for everything beyond the current implementation that makes sense
24+
- [ ] Add metrics
25+
- [ ] Write or generate documentation about everything that this package collects traces and metrics on
26+
27+
# License
28+
29+
The MIT License (MIT)
30+
31+
Copyright (c) 2025 Cees-Jan Kiewiet
32+
33+
Permission is hereby granted, free of charge, to any person obtaining a copy
34+
of this software and associated documentation files (the "Software"), to deal
35+
in the Software without restriction, including without limitation the rights
36+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37+
copies of the Software, and to permit persons to whom the Software is
38+
furnished to do so, subject to the following conditions:
39+
40+
The above copyright notice and this permission notice shall be included in all
41+
copies or substantial portions of the Software.
42+
43+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49+
SOFTWARE.

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
"ReactInspector\\Tests\\Filesystem\\": "tests"
2929
}
3030
},
31-
"bin": [
32-
"bin/mammatus"
33-
],
3431
"config": {
3532
"allow-plugins": {
3633
"dealerdirect/phpcodesniffer-composer-installer": true,

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)