Giter Site home page Giter Site logo

nautobot / nautobot-plugin-chatops-grafana Goto Github PK

View Code? Open in Web Editor NEW
7.0 11.0 2.0 1.66 MB

Grafana extension for Nautobot Chatops

License: Other

Dockerfile 0.79% Python 96.01% HTML 3.20%
nautobot nautobot-plugin chatops nautobot-chatops hacktoberfest

nautobot-plugin-chatops-grafana's Introduction

The code in this repository has been migrated to the Nautobot ChatOps Repository as an integration - read more about it in the ChatOps Docs! As of July 2023 this repository has been FROZEN - all development / issues / discussions for this integration are in the Nautobot ChatOps Repository going forward.

Grafana ChatOps

The Grafana Chatops plugin is a Nautobot extension used with the Nautobot ChatOps base framework to provide all the operational graphs provided by Grafana delivered via chat clients.

Documentation

Usage

For basic usage and getting your first set of Grafana commands added to your chat client, see the Getting Started Guide.

To dive deeper into the Grafana configuration and variables within dashboards, see our Advanced Usage Guide

Contributing

Thank you for your interest in helping to improve the Nautobot Grafana Plugin! Please refer to the contributing guidelines for details.

Project Documentation

Project documentation is generated by mkdocs from the documentation located in the docs folder.
You can configure readthedocs.io to point at this folder in your repo.
For development purposes a docker-compose.docs.yml is also included. A container hosting the docs will be started using the invoke commands on http://localhost:8001, as changes are saved the docs will be automatically reloaded.

Questions

For any questions or comments, please check the FAQ first and feel free to swing by the Network to Code slack channel (channel #networktocode). Sign up here

Screenshots

  • Get Top-Host Bar Gauge specifying the last 12 months: Top Hosts P12M

  • Get Successful Automation Jobs Graph specifying the last 12 months and light theme: Top Hosts P12M

  • Get Automation Jobs Run Stat chart specifying the last 12 months: Top Hosts P12M

  • Get Automation Jobs Run Stat chart specifying the last 12 months using a custom variable of Playbook: Top Hosts P12M

  • Get Top-Host Bar Gauge specifying the last 12 months with a Device and Site variable set, prompting in chat: Top Hosts P12M

nautobot-plugin-chatops-grafana's People

Contributors

davidban77 avatar dependabot[bot] avatar jedelman8 avatar josh-silvas avatar nautobot-bot avatar nniehoff avatar tim-fiola avatar ubajze avatar whitej6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nautobot-plugin-chatops-grafana's Issues

Plugin not compatible with Nautobot 1.2.3

Environment

  • Python version: 3.9
  • Nautobot version: 1.2.3
  • nautobot-plugin-chatops-grafana version: 1.0.1

Expected Behavior

Plugin should work with Nautobot 1.2.3

Observed Behavior

If this plugin is a requirement, Nautobot will be downgraded to 1.2.2 during install.

Steps to Reproduce

  1. Pin Nautobot to 1.2.3 in pyproject.toml
  2. Run poetry lock
  3. Resolving fails due to Click version requirement of schema-enforcer conflicting with Click requirement of the new Celery version
19:58 $ poetry lock
Updating dependencies
Resolving dependencies... (3.1s)

  SolverProblemError

  Because no versions of celery match >5.2.2,<5.2.3 || >5.2.3,<5.3.0
   and celery (5.2.2) depends on click (>=8.0,<9.0), celery (>=5.2.2,<5.2.3 || >5.2.3,<5.3.0) requires click (>=8.0,<9.0).
  And because celery (5.2.3) depends on click (>=8.0.3,<9.0), celery (>=5.2.2,<5.3.0) requires click (>=8.0,<9.0).
  Because no versions of schema-enforcer match >1.1.1,<2.0.0
   and schema-enforcer (1.1.1) depends on click (>=7.1,<8.0), schema-enforcer (>=1.1.1,<2.0.0) requires click (>=7.1,<8.0).
  Thus, schema-enforcer (>=1.1.1,<2.0.0) is incompatible with celery (>=5.2.2,<5.3.0).
  And because nautobot (1.2.3) depends on celery (>=5.2.2,<5.3.0), schema-enforcer (>=1.1.1,<2.0.0) is incompatible with nautobot (1.2.3).
  So, because nautobot-chatops-grafana depends on both nautobot (1.2.3) and schema-enforcer (^1.1.1), version solving failed.

  at ~/.poetry/lib/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.