SlideShare a Scribd company logo
Bonsai
Sensu Summit 2019
The Bonsai Asset Index
2
● Announced in February
● Integrates with public GitHub repositories
● Undergoing continuous incremental
improvement
● 100 assets registered so far!
Huge shoutout to our early adopters,
for helping Bonsai improve so fast!
Bonsai Web UI Quick Tour
Live Demo
3
● tar(.gz) archives that contain:
○ bin/ -> added to executable path
○ lib/ -> added to shared library search path
● Integrity verified using sha512 checksum
● Used for:
Checks, handlers, mutators, filters and hooks
Sensu Go Assets Refresher:
The Basics
44
● Lowers the complexity
of configuration management
● Keep your container images thin
● Enables just-in-time monitoring workflows
● Completely optional
”Sometimes the old ways are the best”
Sensu Go Assets Refresher:
The Benefits
55
What Bonsai Adds to the Story
6
Why not just serve assets out of Github?
Bonsai gives us:
○ Dedicated Web UI to discover/explore assets
○ Dedicated extensible API for asset management
○ Caching of binaries outside of GitHub
○ Planning for additional integration options (GitHub is
just a start)
○ Open source codebase to collaborate on
The Bonsai - Github Integration
7
● Uses Github Webhook Events
● Requires Github releases:
○ SemVer release tags
○ sha512 checksum file
○ asset binaries as release artifacts
● Requires .bonsai.yml file:
This marks a repository as containing
an asset and ties everything together
Registering a New Plugin
Live Demo
8
Provides:
● Asset version of ruby environment
● Docker images to use in building plugin assets
Supported by Sensu
https://github.com/sensu/sensu-ruby-runtime
While We Wait:
The Sensu Ruby Runtime
99
An Important way to support the existing
community maintained Sensu Plugins
● Added automated testing for linux
platform matrix
● Builds for:
○ Alpine
○ Debian family (Debian 8+ and Ubuntu 14.04+)
○ RHEL 6 family
○ RHEL 7 family
Contribution Opportunity: Add Windows Support
While We Wait:
Ruby Runtime 0.10 Milestone
1010
Constructed a helper repository:
https://github.com/sensu/sensu-go-bonsai-asset
Uses the sensu-ruby-runtime Docker
images as build environments
While We Wait:
Building Assets with TravisCI
1111
Used to define multiple builds
Each build is defined by:
● Platform -> string
● Arch -> string
● Asset_filename -> matches file in github release
● Sha_filename -> matches file in github release
● Filters -> used in generated asset configuration
While We Wait:
The .bonsai.yml File
1212
While We Wait:
Using Bonsai Assets
1313
Bonsai Web UI:
● Download platform/arch specific asset config as yaml
Bonsai API:
● Download platform/arch specific asset config as json
or
● Download multi-build asset config as json
(New! Support in Sensu Go 5.12)
Using the new Asset
Live Demo
14
A Word on Bonsai
Asset Caching
1515
generated asset configs point to
assets.bonsai.sensu.io
● Backed by CDN
This overcomes rate-limiting of GitHub download urls
● Url encodes GitHub commit UUID for release tag
This should help you to find the corresponding source,
even if upstream GitHub release tag is deleted and rebuilt
What’s next for Bonsai?
16
● Extend the Web UI to support multi-build
asset configuration
● Web UI search improvements
● Integrate sensuctl with Bonsai API:
You’ll see more on this tomorrow!
How You Can Contribute
17
● Help! Add asset support for existing Sensu
plugins you are currently using
● Help! Extend the sensu-ruby-runtime to
non-linux platforms
● Share! your own assets with the
community by registering them with
Bonsai
Thank You!
18

More Related Content

PDF
Keynote: Sensu as a multi-cloud monitoring control plane
PDF
7 Years of Sensu: Then, Now, and Soon
PPTX
PPB's Sensu Journey
PPTX
Pull, Don't Push! Sensu Summit 2018 Talk
PPTX
Herding cats & catching fire: Workday's telemetry & middleware
PDF
Order from chaos: automating monitoring configuration
PDF
Keynote: Scaling Sensu Go
PDF
Heroku to Kubernetes & Gihub to Gitlab success story
Keynote: Sensu as a multi-cloud monitoring control plane
7 Years of Sensu: Then, Now, and Soon
PPB's Sensu Journey
Pull, Don't Push! Sensu Summit 2018 Talk
Herding cats & catching fire: Workday's telemetry & middleware
Order from chaos: automating monitoring configuration
Keynote: Scaling Sensu Go
Heroku to Kubernetes & Gihub to Gitlab success story

What's hot (20)

PDF
Netflix Open Source Meetup Season 4 Episode 1
PDF
Netflix oss season 1 episode 3
PDF
Athena 0.2.0 - Nimble
PDF
Netflix Open Source Meetup Season 3 Episode 2
PDF
Patroni: Kubernetes-native PostgreSQL companion
PDF
Data(?)Ops with CircleCI
PDF
Sprint 42 review
PDF
KubeCon EU 2016 Keynote: Pushing Kubernetes Forward
PPTX
The State of CI/CD Tooling in 2019
PDF
SRECon16: Moving Large Workloads from a Public Cloud to an OpenStack Private ...
PDF
SFScon16 - Michele Baldessari: "OpenStack – An introduction"
PDF
From airflow to google cloud composer
PPTX
Cloudera migration oozie_hadoop_ci_cd_pipeline
PDF
Google Cloud Computing compares GCE, GAE and GKE
PDF
Ingress controller present, past and future
PDF
Using Kubernetes to deploy Django in GCP
PDF
NetflixOSS Meetup season 3 episode 1
PDF
Atmosphere 2018: Jukka Forsgren - SPINNAKER AND MULTI-CLOUD CI/CD
PDF
From business requirements to working pipelines with apache airflow
PPTX
Notary - container signing
Netflix Open Source Meetup Season 4 Episode 1
Netflix oss season 1 episode 3
Athena 0.2.0 - Nimble
Netflix Open Source Meetup Season 3 Episode 2
Patroni: Kubernetes-native PostgreSQL companion
Data(?)Ops with CircleCI
Sprint 42 review
KubeCon EU 2016 Keynote: Pushing Kubernetes Forward
The State of CI/CD Tooling in 2019
SRECon16: Moving Large Workloads from a Public Cloud to an OpenStack Private ...
SFScon16 - Michele Baldessari: "OpenStack – An introduction"
From airflow to google cloud composer
Cloudera migration oozie_hadoop_ci_cd_pipeline
Google Cloud Computing compares GCE, GAE and GKE
Ingress controller present, past and future
Using Kubernetes to deploy Django in GCP
NetflixOSS Meetup season 3 episode 1
Atmosphere 2018: Jukka Forsgren - SPINNAKER AND MULTI-CLOUD CI/CD
From business requirements to working pipelines with apache airflow
Notary - container signing
Ad

Similar to The Bonsai Asset Index : A new way for the community to share resources (20)

PDF
The tools & technologies behind Resin.io
PDF
PDF
PDF
Code Factory avec GitLab CI et Rancher
PPTX
Sonian, Open Source and Sensu
PDF
Building software by feature with immutable infrastructures on AWS
PDF
Lavigne bsdmag-jan2012
PPTX
License compliance in embedded linux with the yocto project
PPTX
Presentazione resin.io
PPTX
Open Source License Compliance with AGL
PDF
Australian OpenStack User Group August 2012: Chef for OpenStack
PPTX
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
PDF
Sense and Sensu-bility: Painless Metrics And Monitoring In The Cloud with Sensu
PDF
DevOps for Opensource Geospatial Applications
PDF
BSD for Linux Users
PPTX
Getting rid of pain with Heroku @ BrainDev Kyiv
PDF
DevOps: Building by feature with immutable infrastructure at Serv.sg
PDF
OpenStack Cinder On-Boarding Education - Boston Summit - 2017
PDF
SFScon21 - Davide Ricci - Oniro - a distributed o.s. with feet on the ground
PDF
Scaling capacity while saving cash
The tools & technologies behind Resin.io
Code Factory avec GitLab CI et Rancher
Sonian, Open Source and Sensu
Building software by feature with immutable infrastructures on AWS
Lavigne bsdmag-jan2012
License compliance in embedded linux with the yocto project
Presentazione resin.io
Open Source License Compliance with AGL
Australian OpenStack User Group August 2012: Chef for OpenStack
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
Sense and Sensu-bility: Painless Metrics And Monitoring In The Cloud with Sensu
DevOps for Opensource Geospatial Applications
BSD for Linux Users
Getting rid of pain with Heroku @ BrainDev Kyiv
DevOps: Building by feature with immutable infrastructure at Serv.sg
OpenStack Cinder On-Boarding Education - Boston Summit - 2017
SFScon21 - Davide Ricci - Oniro - a distributed o.s. with feet on the ground
Scaling capacity while saving cash
Ad

More from Sensu Inc. (16)

PPTX
Introducing GoAlert: a brand-new on-call scheduling and notification open sou...
PDF
Monitoring Graceful Failure
PDF
Testing and monitoring and broken things
PDF
Keynote: Measuring the right things
PDF
AIOps & Observability to Lead Your Digital Transformation
PDF
Ecosystem session: Sensu + Puppet
PPTX
Pull, don’t push: Architectures for monitoring and configuration in a microse...
PPTX
Assets in Sensu 2.0
PPTX
The Box.com success story: migrating 350K Nagios objects to Sensu
PPTX
Project 3M: Meaningful Monitoring and Messaging
PPTX
Sharing Sensu with Multiple Teams using Ansible
PPTX
Where's My Beer: Building a Better Kegerator with a Raspberry Pi & Sensu
PDF
Reimagining Sensu
PPTX
Alert Fatigue: Avoidance and Course Correction
PDF
Sensu and Kubernetes 1.x
PDF
Sensu and Puppet
Introducing GoAlert: a brand-new on-call scheduling and notification open sou...
Monitoring Graceful Failure
Testing and monitoring and broken things
Keynote: Measuring the right things
AIOps & Observability to Lead Your Digital Transformation
Ecosystem session: Sensu + Puppet
Pull, don’t push: Architectures for monitoring and configuration in a microse...
Assets in Sensu 2.0
The Box.com success story: migrating 350K Nagios objects to Sensu
Project 3M: Meaningful Monitoring and Messaging
Sharing Sensu with Multiple Teams using Ansible
Where's My Beer: Building a Better Kegerator with a Raspberry Pi & Sensu
Reimagining Sensu
Alert Fatigue: Avoidance and Course Correction
Sensu and Kubernetes 1.x
Sensu and Puppet

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
Electronic commerce courselecture one. Pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
Group 1 Presentation -Planning and Decision Making .pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
20250228 LYD VKU AI Blended-Learning.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
A Presentation on Artificial Intelligence
Unlocking AI with Model Context Protocol (MCP)
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx

The Bonsai Asset Index : A new way for the community to share resources

  • 2. The Bonsai Asset Index 2 ● Announced in February ● Integrates with public GitHub repositories ● Undergoing continuous incremental improvement ● 100 assets registered so far! Huge shoutout to our early adopters, for helping Bonsai improve so fast!
  • 3. Bonsai Web UI Quick Tour Live Demo 3
  • 4. ● tar(.gz) archives that contain: ○ bin/ -> added to executable path ○ lib/ -> added to shared library search path ● Integrity verified using sha512 checksum ● Used for: Checks, handlers, mutators, filters and hooks Sensu Go Assets Refresher: The Basics 44
  • 5. ● Lowers the complexity of configuration management ● Keep your container images thin ● Enables just-in-time monitoring workflows ● Completely optional ”Sometimes the old ways are the best” Sensu Go Assets Refresher: The Benefits 55
  • 6. What Bonsai Adds to the Story 6 Why not just serve assets out of Github? Bonsai gives us: ○ Dedicated Web UI to discover/explore assets ○ Dedicated extensible API for asset management ○ Caching of binaries outside of GitHub ○ Planning for additional integration options (GitHub is just a start) ○ Open source codebase to collaborate on
  • 7. The Bonsai - Github Integration 7 ● Uses Github Webhook Events ● Requires Github releases: ○ SemVer release tags ○ sha512 checksum file ○ asset binaries as release artifacts ● Requires .bonsai.yml file: This marks a repository as containing an asset and ties everything together
  • 8. Registering a New Plugin Live Demo 8
  • 9. Provides: ● Asset version of ruby environment ● Docker images to use in building plugin assets Supported by Sensu https://github.com/sensu/sensu-ruby-runtime While We Wait: The Sensu Ruby Runtime 99 An Important way to support the existing community maintained Sensu Plugins
  • 10. ● Added automated testing for linux platform matrix ● Builds for: ○ Alpine ○ Debian family (Debian 8+ and Ubuntu 14.04+) ○ RHEL 6 family ○ RHEL 7 family Contribution Opportunity: Add Windows Support While We Wait: Ruby Runtime 0.10 Milestone 1010
  • 11. Constructed a helper repository: https://github.com/sensu/sensu-go-bonsai-asset Uses the sensu-ruby-runtime Docker images as build environments While We Wait: Building Assets with TravisCI 1111
  • 12. Used to define multiple builds Each build is defined by: ● Platform -> string ● Arch -> string ● Asset_filename -> matches file in github release ● Sha_filename -> matches file in github release ● Filters -> used in generated asset configuration While We Wait: The .bonsai.yml File 1212
  • 13. While We Wait: Using Bonsai Assets 1313 Bonsai Web UI: ● Download platform/arch specific asset config as yaml Bonsai API: ● Download platform/arch specific asset config as json or ● Download multi-build asset config as json (New! Support in Sensu Go 5.12)
  • 14. Using the new Asset Live Demo 14
  • 15. A Word on Bonsai Asset Caching 1515 generated asset configs point to assets.bonsai.sensu.io ● Backed by CDN This overcomes rate-limiting of GitHub download urls ● Url encodes GitHub commit UUID for release tag This should help you to find the corresponding source, even if upstream GitHub release tag is deleted and rebuilt
  • 16. What’s next for Bonsai? 16 ● Extend the Web UI to support multi-build asset configuration ● Web UI search improvements ● Integrate sensuctl with Bonsai API: You’ll see more on this tomorrow!
  • 17. How You Can Contribute 17 ● Help! Add asset support for existing Sensu plugins you are currently using ● Help! Extend the sensu-ruby-runtime to non-linux platforms ● Share! your own assets with the community by registering them with Bonsai