resoto-plugin-dockerhub


Nameresoto-plugin-dockerhub JSON
Version 3.9.0 PyPI version JSON
download
home_page
SummaryResoto Docker Hub Collector Plugin
upload_time2024-02-20 18:26:32
maintainer
docs_urlNone
authorSome Engineering Inc.
requires_python>=3.9
licenseAGPLv3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # resoto-plugin-dockerhub
Docker Hub Collector Plugin for Resoto

This collector plugin is used to collect data from Docker Hub. 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:
    dockerhub_downloads_total:
      # Metric help text
      help: 'Docker Hub downloads'
      # Aggregation search to run
      search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as namespace, id as repository: sum(pull_count) as dockerhub_downloads_total): is(dockerhub_repository)'
      # Type of metric (gauge or counter)
      type: 'counter'
```
## License
See [LICENSE](../../LICENSE) for details.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "resoto-plugin-dockerhub",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Some Engineering Inc.",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/e3/0c/9d4c9bbbada497e5e7389cd885b12aab3e0cc04681c3645a11512f880b5f/resoto-plugin-dockerhub-3.9.0.tar.gz",
    "platform": null,
    "description": "# resoto-plugin-dockerhub\nDocker Hub Collector Plugin for Resoto\n\nThis collector plugin is used to collect data from Docker Hub. 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    dockerhub_downloads_total:\n      # Metric help text\n      help: 'Docker Hub downloads'\n      # Aggregation search to run\n      search: 'aggregate(/ancestors.cloud.reported.name as cloud, /ancestors.account.reported.name as namespace, id as repository: sum(pull_count) as dockerhub_downloads_total): is(dockerhub_repository)'\n      # Type of metric (gauge or counter)\n      type: 'counter'\n```\n## License\nSee [LICENSE](../../LICENSE) for details.\n",
    "bugtrack_url": null,
    "license": "AGPLv3",
    "summary": "Resoto Docker Hub Collector Plugin",
    "version": "3.9.0",
    "project_urls": {
        "Documentation": "https://resoto.com",
        "Source": "https://github.com/someengineering/resoto/tree/main/plugins/dockerhub"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8720d636e82344205e3ee7236ceceb37a3c3ca3b5658ac58f555761f477fea2f",
                "md5": "7898227fe09478170d1f83dc858d0090",
                "sha256": "98b1e2db75ae861321d0427f973fe6305fa0ba4c04dac1954920e0a8affbbf91"
            },
            "downloads": -1,
            "filename": "resoto_plugin_dockerhub-3.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7898227fe09478170d1f83dc858d0090",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4359,
            "upload_time": "2024-02-20T18:26:30",
            "upload_time_iso_8601": "2024-02-20T18:26:30.583247Z",
            "url": "https://files.pythonhosted.org/packages/87/20/d636e82344205e3ee7236ceceb37a3c3ca3b5658ac58f555761f477fea2f/resoto_plugin_dockerhub-3.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e30c9d4c9bbbada497e5e7389cd885b12aab3e0cc04681c3645a11512f880b5f",
                "md5": "b0cf6d300c0953d20695f36033300d58",
                "sha256": "aa2bdb084ca3b002a07609e77ba445c46466a84dc1a5873ac50eab3f19225205"
            },
            "downloads": -1,
            "filename": "resoto-plugin-dockerhub-3.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b0cf6d300c0953d20695f36033300d58",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3814,
            "upload_time": "2024-02-20T18:26:32",
            "upload_time_iso_8601": "2024-02-20T18:26:32.309113Z",
            "url": "https://files.pythonhosted.org/packages/e3/0c/9d4c9bbbada497e5e7389cd885b12aab3e0cc04681c3645a11512f880b5f/resoto-plugin-dockerhub-3.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-20 18:26:32",
    "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-dockerhub"
}
        
Elapsed time: 0.50746s