Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
c24d4acb
Commit
c24d4acb
authored
Mar 28, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation fixes + add missing license header
parent
cb97599a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
library/monitoring/librato_annotation
+22
-24
No files found.
library/monitoring/librato_annotation
View file @
c24d4acb
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (C) Seth Edwards, 2014
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
import
base64
...
...
@@ -18,64 +38,42 @@ options:
description:
- Librato account username
required: true
default: null
aliases: []
api_key:
description:
- Librato account api key
required: true
default: null
aliases: []
name:
description:
- The annotation stream name
- If the annotation stream does not exist, it will be created automatically
required: false
default: null
aliases: []
title:
description:
- The title of an annotation is a string and may contain spaces
- The title should be a short, high-level summary of the annotation e.g. v45 Deployment
required: true
default: null
aliases: []
source:
description:
- A string which describes the originating source of an annotation when that annotation is tracked across multiple members of a population
required: false
default: null
aliases: []
description:
description:
- The description contains extra meta-data about a particular annotation
- The description should contain specifics on the individual annotation e.g. Deployed 9b562b2: shipped new feature foo!
required: false
default: null
aliases: []
start_time:
description:
- The unix timestamp indicating the the time at which the event referenced by this annotation started
required: false
default: "the current time"
aliases: []
end_time:
description:
- The unix timestamp indicating the the time at which the event referenced by this annotation ended
- For events that have a duration, this is a useful way to annotate the duration of the event
required: false
default: null
aliases: []
links:
description:
- Words go here
- that describe
- this option
required: true or false
default: a string or the word null
aliases: []
- See examples
required: true
'''
EXAMPLES
=
'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment