Change counter to sample vocable in cm.image

This changes counter to sample vocable in ceilometer.image code

Parts of the blueprint remove-counter

Change-Id: Ida25da18642b0b72643841d9221799bb17ebbfdc
This commit is contained in:
Mehdi Abaakouk 2013-08-20 17:19:27 +02:00
parent 17e84e1761
commit a231680a54

View File

@ -15,7 +15,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Handler for producing image counter messages from glance notification
"""Handler for producing image metering messages from glance notification
events.
"""
@ -98,7 +98,7 @@ class ImageSize(ImageCRUDBase):
class ImageDownload(ImageBase):
"""Emit image_download counter when an image is downloaded."""
"""Emit image_download sample when an image is downloaded."""
event_types = ['image.send']
def process_notification(self, message):
@ -114,7 +114,7 @@ class ImageDownload(ImageBase):
class ImageServe(ImageBase):
"""Emit image_serve counter when an image is served out."""
"""Emit image_serve sample when an image is served out."""
event_types = ['image.send']
def process_notification(self, message):