#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
msgid ""
msgstr ""
"Project-Id-Version: Apache Traffic Server 4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-08 17:57+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../sdk/adding-statistics.en.rst:2
msgid "Adding Statistics"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:21
msgid ""
"This chapter describes how to add statistics to your plugins. Statistics "
"can be coupled or uncoupled; **coupled** statistics are quantities that are "
"related and must therefore be updated together. The Traffic Server API "
"statistics functions add your plugin's statistics to the Traffic Server "
"statistics system. You can view your plugin statistics as you would any "
"other Traffic Server statistic, using Traffic Line (Traffic Server's "
"command line interface). This chapter contains the following topics:"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:38
msgid "Uncoupled Statistics"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:40
msgid ""
"A statistic is an object of type ``TSStat``. The value of the statistic is "
"of type ``TSStatType``. The possible ``TSStatTypes`` are:"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:43
msgid "``TSSTAT_TYPE_INT64``"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:45
msgid "``TSSTAT_TYPE_FLOAT``"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:47
msgid "There is *no* ``TSSTAT_TYPE_INT32``."
msgstr ""

#: ../../sdk/adding-statistics.en.rst:49
msgid "To add uncoupled statistics, follow the steps below:"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:51
msgid ""
"Declare your statistic as a global variable in your plugin. For example:"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:58
msgid ""
"In ``TSPluginInit``, create new statistics using ``TSStatCreate``. When you "
"create a new statistic, you need to give it an \"external\" name that the "
"Traffic Server command line interface (Traffic Line) uses to access the "
"statistic. For example:"
msgstr ""

#: ../../sdk/adding-statistics.en.rst:67
msgid ""
"Modify (increment, decrement, or other modification) your statistic in "
"plugin functions."
msgstr ""
