package OpenTracing::Tag;

use strict;
use warnings;

our $VERSION = '0.003'; # VERSION

use parent qw(OpenTracing::Common);

=encoding utf8

=head1 NAME

OpenTracing::Tag - wrapper object for tags


Most of the time, tags are represented as simple key/value entries in a hashref.

Some tags have specific semantic meaning, so this class acts as a base for supporting
future operations on specific tags.


=head2 key

The tag key, a plain string.


sub key { shift->{key} }

=head2 value

The tag value, as a plain string.


sub value { shift->{value} }



=head1 AUTHOR

Tom Molesworth <>

=head1 LICENSE

Copyright Tom Molesworth 2018-2019. Licensed under the same terms as Perl itself.