Name | resoto-plugin-scarf JSON |
Version |
3.9.0
JSON |
| download |
home_page | |
Summary | Resoto Scarf Collector Plugin |
upload_time | 2024-02-20 18:30:10 |
maintainer | |
docs_url | None |
author | Some Engineering Inc. |
requires_python | >=3.9 |
license | AGPLv3 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Resoto 💜 Scarf
Scarf Collector Plugin for Resoto
This collector plugin is used to collect data from Scarf. It is used internally at Some Engineering to create metrics about image downloads.
To export the number of image pulls add the following config to `resoto.metrics`
```
resotometrics:
[...]
metrics:
scarf_downloads_total:
# Metric help text
help: 'Scarf downloads'
# Aggregation search to run
search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as organization, name as repository: sum(pull_count) as scarf_downloads_total): is(scarf_package)'
# Type of metric (gauge or counter)
type: 'counter'
```
## License
See [LICENSE](../../LICENSE) for details.
Raw data
{
"_id": null,
"home_page": "",
"name": "resoto-plugin-scarf",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "Some Engineering Inc.",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/ca/31/8631bffbeef970af266f092c7ce0a01334dbec0056f647d7dd7ece94a53a/resoto-plugin-scarf-3.9.0.tar.gz",
"platform": null,
"description": "# Resoto \ud83d\udc9c Scarf\nScarf Collector Plugin for Resoto\n\nThis collector plugin is used to collect data from Scarf. It is used internally at Some Engineering to create metrics about image downloads.\n\nTo export the number of image pulls add the following config to `resoto.metrics`\n```\nresotometrics:\n [...]\n metrics:\n scarf_downloads_total:\n # Metric help text\n help: 'Scarf downloads'\n # Aggregation search to run\n search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as organization, name as repository: sum(pull_count) as scarf_downloads_total): is(scarf_package)'\n # Type of metric (gauge or counter)\n type: 'counter'\n```\n\n## License\nSee [LICENSE](../../LICENSE) for details.\n",
"bugtrack_url": null,
"license": "AGPLv3",
"summary": "Resoto Scarf Collector Plugin",
"version": "3.9.0",
"project_urls": {
"Documentation": "https://resoto.com",
"Source": "https://github.com/someengineering/resoto/tree/main/plugins/scarf"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ca375de7e4f30e4b3b1db8a8297f2d203af8b99e4ad52988a9358deca9d529b4",
"md5": "e2a3878ae0cddf2191a74822df497601",
"sha256": "4b70676b690efea0dd5a822b953d8ee1e88ae2dc42d4de1f5c2ee4b30c78e6a4"
},
"downloads": -1,
"filename": "resoto_plugin_scarf-3.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e2a3878ae0cddf2191a74822df497601",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 6006,
"upload_time": "2024-02-20T18:30:08",
"upload_time_iso_8601": "2024-02-20T18:30:08.429099Z",
"url": "https://files.pythonhosted.org/packages/ca/37/5de7e4f30e4b3b1db8a8297f2d203af8b99e4ad52988a9358deca9d529b4/resoto_plugin_scarf-3.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca318631bffbeef970af266f092c7ce0a01334dbec0056f647d7dd7ece94a53a",
"md5": "808b2778eab8b1ff4fef4c28958eb034",
"sha256": "e45ba356adfef2d6c1ad1acfe7df16b724fb8718b20ef296e44e735fc982dd9c"
},
"downloads": -1,
"filename": "resoto-plugin-scarf-3.9.0.tar.gz",
"has_sig": false,
"md5_digest": "808b2778eab8b1ff4fef4c28958eb034",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5269,
"upload_time": "2024-02-20T18:30:10",
"upload_time_iso_8601": "2024-02-20T18:30:10.723565Z",
"url": "https://files.pythonhosted.org/packages/ca/31/8631bffbeef970af266f092c7ce0a01334dbec0056f647d7dd7ece94a53a/resoto-plugin-scarf-3.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-20 18:30:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "someengineering",
"github_project": "resoto",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "resoto-plugin-scarf"
}