EnglishFrenchSpanish

Ad


OnWorks favicon

mon-put-data - Online in the Cloud

Run mon-put-data in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mon-put-data that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mon-put-data - Put metric data

SYNOPSIS


mon-put-data
--metric-name value --namespace value [--dimensions
"key1=value1,key2=value2..." ] [--timestamp value ] [--unit value
]
[--value value ] [--statisticValues "SampleCount=value,
Sum=value,
Maximum=value, Minimum=value" ] [General Options]

DESCRIPTION


This call will put time-series data, for either the raw value or
valid
statistic values of a given MetricName. It supports the input of a
single
datapoint at a time.

SPECIFIC OPTIONS


-d, --dimensions "key1=value1,key2=value2..."
Dimensions (one or more) along which metric data may be uniquely
identified.

-m, --metric-name VALUE
The name of the Metric to be gathered. Required.

-n, --namespace VALUE
The namespace the given Metric is valid in. Required.

-s, --statisticValues "SampleCount=value, Sum=value, Maximum=value,
Minimum=value"
The statistics to be provided for the given metric. Valid key
values are:
SampleCount, Sum, Maximum and Minimum. All these values need to be
specified for a valid call.

-t, --timestamp VALUE
The timestamp of the datapoint. For example,
2009-11-25T19:00:00+00:00Z.
Timestamp will be rounded down to the nearest minute. The dateTime
type
uses ISO 8601 (UTC). The default for this is the time that this
command
was executed.

-u, --unit VALUE
The unit that the metric is being reported in. Valid unit values
are:
Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes,
Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits,
Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second,
Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second,
Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second,
None.

-v, --value VALUE
The value of the metric datum being put in.

GENERAL OPTIONS


--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be
set by
using the environment variable 'AWS_CREDENTIAL_FILE'.

-C, --ec2-cert-file-path VALUE
Location of your EC2 certificate file. This value can be set by
using the
environment variable 'EC2_CERT'.

--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value
is
'30'.

--delimiter VALUE
What delimiter to use when displaying delimited (long) results.

--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by
default.

-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.

-K, --ec2-private-key-file-path VALUE
Location of your EC2 private key file. This value can be set by
using the
environment variable 'EC2_PRIVATE_KEY'.

--region VALUE
Specify region VALUE as the web service region to use. This value
can be
set by using the environment variable 'EC2_REGION'.

-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.

--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is
to not
show empty fields or columns.

--show-request
Displays the URL the tools used to call the AWS Service. The
default
value is 'false'.

--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long),
xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values
delimited
by a character. The xml is the raw return from the service, while
quiet
suppresses all standard output. The default is tabular, or
'show-table'.

-U, --url VALUE
This option will override the URL for the service call with VALUE.
This
value can be set by using the environment variable
'AWS_CLOUDWATCH_URL'.

INPUT EXAMPLES


This puts statistic data for "RequestCount" in the "MyService"
namespace.
The metric contains no dimensions and so represents the overall
RequestCount
across the entire service. The measurement is a pre-aggregated
statisticValue representing five earlier measurements whose maximum
was 70,
minimum was 30 and sum was 250.

$PROMPT>mon-put-data --metric-name RequestCount --namespace "MyService"
--timestamp 2009-11-25T00:00:00.000Z --statisticValues
"Sum=250,Minimum=30,Maximum=70,SampleCount=5"

This puts user-specific "RequestCount" test data in the "MyService"
namespace. The user and stack name are stored as dimensions in order
to
distinguish this metric from the service-wide metric in the example
above.

$PROMPT>mon-put-data --metric-name RequestCount --namespace "MyService"
--dimensions "User=SomeUser,Stack=Test" --timestamp
2009-11-25T00:00:00.000Z --value 50

Use mon-put-data online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands

Ad