Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service don't start if format is defined in configuration file #1

Open
DanielLuning opened this issue May 7, 2012 · 13 comments
Open

Comments

@DanielLuning
Copy link

I tried to add the format setting to PerfTap configuration file but with it the service refuses to start.
I have done a manual installation, also tried to use the Local Installation Script with config parameters but that doesn't work either.

@Iristyle
Copy link
Owner

Iristyle commented May 7, 2012

Interesting -- will try and check this out soon. Thanks for the report.

@singhman13
Copy link

I can confirm the same. By default it seems PerfTap is sending in statsite formatted data and I am trying to change it to StatsD format for use with bucky/graphite.

Service cannot be started. System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'format'. Note that attribute names are case-sensitive. (C:\...\PerfTap\PerfTap.WindowsServiceHost.exe.Config line 24)
   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requ...

Using the 0.1.1 package from the downloads page.

I'm using the following XML configuration:

  <perfTapPublishing prefixKey="perftap"
                     port="8125"
                     server="perftap"
                     Key="StatsD"
    />

@Iristyle
Copy link
Owner

Ok -- thanks for the follow-up guys. I will try to look at this today.

@singhman13
Copy link

Did you have any luck?

@fonziesherman
Copy link

I have the same issue starting the service but it complains about hostname:

Service cannot be started. System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'hostName'. Note that attribute names are case-sensitive. (C:\Program Files\PerfTap\PerfTap.WindowsServiceHost.exe.Config line 23)

This will be a great utility when it works for me, thanks for your effort!

@Iristyle
Copy link
Owner

Yeah, I realized that I updated the readme docs, but failed to update the actual code yet... I will let you know as soon as I get this straightened out. I just returned from vacation, but it's high on my agenda.

@mathiear
Copy link

Hi,

I still have the same issue... did you manage to find the time to update the actual code ?

@tomcooley
Copy link

Also having this issue. Any word on an ETA for the fix?

@tomcooley
Copy link

I have fixed this issue for myself locally and have a pull request pending so that my changes can be available to others.

@mathiear
Copy link

Hi Tom,

Any chance you could post your fix here while we wait for the pending request?

Cheers,

Arnaud

@gardart
Copy link

gardart commented Feb 14, 2013

Hi

Has this bug been fixed ? I was trying this out today but ran into this problem too.

Best regards

Gardar

@Iristyle
Copy link
Owner

Iristyle commented Mar 1, 2013

Man.. 10 months.

Sorry guys... this project has been in a bit of neglect mode here, since I've been tied up with a ton of other stuff.

If someone wants to send a PR fixing this I would take a look and ship a new version.

The next step for this project was to integrate NanoTube and yank out any of the network client code, relying on that library instead.

@francoisbouchard
Copy link

Having the same issue after default install...
System.ConfigurationErrorsException: unrecognized attribute 'hostname'. Note that attribute names are case-sensitive. (C:\Program Files\PerfTap\PerfTap\WindowsServiceHost.exe.Config line 18)

Would be nice to get this working - Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants